elharo opened a new issue, #1996:
URL: https://github.com/apache/maven-resolver/issues/1996

   **Affected version:** HEAD
   
   **File:** 
`maven-resolver-test-util/src/main/java/org/eclipse/aether/internal/test/util/DependencyGraphParser.java:134-138`
   
   ```java
   BufferedReader reader = new BufferedReader(new 
StringReader(dependencyGraph));
   DependencyNode node = parse(reader);
   reader.close();  // never reached if parse() throws
   ```
   
   While `StringReader.close()` is a no-op, the pattern is inconsistent with 
the rest of the codebase and represents a latent bug if the implementation 
changes.
   
   Originally reported in #1944.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to