Fix FileInputStream is never closed

This commit is contained in:
2024-05-18 01:22:48 +00:00
parent 06a7964175
commit c8c7584583

View File

@@ -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++) {