HubertWo commented on a change in pull request #400:
URL: https://github.com/apache/commons-lang/pull/400#discussion_r505699398
##########
File path: src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java
##########
@@ -131,6 +131,7 @@ public void testSerialization() throws Exception {
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final ObjectOutputStream out = new ObjectOutputStream(baos);
out.writeObject(origPair);
+ out.close();
Review comment:
```ObjectOutputStream ``` implements ```AutoCloseable```. What about
putting this to ```try-with-resources```?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]