On Wed, 6 Oct 2021 20:37:29 GMT, Andrey Turbanov <d...@openjdk.java.net> wrote:

>> 8274809: Update java.base classes to use try-with-resources
>
> Andrey Turbanov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8274809: Update java.base classes to use try-with-resources
>   fix review comments

Marked as reviewed by alanb (Reviewer).

src/java.base/share/classes/sun/net/NetProperties.java line 73:

> 71:             try (FileInputStream in = new FileInputStream(fname);
> 72:                  BufferedInputStream bin = new BufferedInputStream(in))
> 73:             {

Style-wide I'd probably put the "{" at the end of L72.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5818

Reply via email to