apache / apache/jena

Make org.apache.jena.atlas.lib.Closeable extend java.lang.AutoCloseable

Open
#1,704 6 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.4k
Forks
712
Avg merge
15h 41m
Merged PRs (30d)
53

Description

### Version

4.7.0

### Feature

By making `org.apache.jena.atlas.lib.Closeable` extend `java.lang.AutoCloseable` it will allow user to use _try-with-resources_ and enable detection by tools of missing `.close()`.

### Are you interested in contributing a solution yourself?

None

Contributor guide

Open the contributing guide

Research direction

Start by locating the declaration of org.apache.jena.atlas.lib.Closeable and reading its current close contract. Confirm the public API change supports try-with-resources and that the relevant project checks pass; done means the interface extends java.lang.AutoCloseable without breaking existing usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.