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

Open Beginner friendly
#274 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

bug

Elliotte Rusty Harold opened MSHARED-895 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

Dominant language
Java
Stars
36
Forks
32
Avg merge
17h 12m
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-shared-utils

All issues in apache/maven-shared-utils

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.