Fix FileInputStream is never closed
This commit is contained in:
@@ -33,6 +33,7 @@ public class DetectZip {
|
||||
|
||||
byte[] bytes = new byte[2];
|
||||
fin.read(bytes);
|
||||
fin.close();
|
||||
String[] arr = new String[2];
|
||||
|
||||
for (int i = 0; i < 2; i++) {
|
||||
|
||||
Reference in New Issue
Block a user