Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[java] Avoid FileInputStream and FileOutputStream #1439
Avoid FileInputStream and FileOutputStream. These classes override the finalize method. As a result, their objects are only cleaned when the garbage collector performs a sweep. Since Java 7, programmers can use Files.newInputStream and Files.newOutputStream instead of FileInputStream and FileOutputStream to improve performance.
left a comment
@reudismam Thanks for the PR and sorry for the late feedback.
You can see the failing tests in the travis build: