apache / apache/maven-shared-utils

[MSHARED-895] PropertiesUtil closes streams it doesn't create

Open Beginner friendly
#274 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
36
Forks
32
Avg merge
8h 1m
Merged PRs (30d)
13

Description

**[Elliotte Rusty Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)** opened **[MSHARED-895](https://issues.apache.org/jira/browse/MSHARED-895?redirect=false)** and commented

specifically the methods loadOptionalProperties(InputStream inputStream ) and loadProperties(InputStream inputStream )

 

see discussion on https://github.com/apache/maven-shared-utils/pull/41

---

1 votes, 2 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating PropertiesUtil and the loadOptionalProperties(InputStream inputStream) and loadProperties(InputStream inputStream) methods named in the issue. Review the discussion in pull request #41, then verify that these methods no longer close caller-provided streams and that existing behavior remains covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.