Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
e.g.
String source = new Scanner(new File(testFilePath + "../../src/test/scala/resources/testFilter0.out"))
Scanner implements AutoCloseable.
Using try-with-resources would be a good pattern for closing the Scanners.