yocontra / JMD

Java bytecode analysis/deobfuscation tool
MIT License
199 stars 50 forks source link

Allatori close #16

Closed Wetitpig closed 6 years ago

Wetitpig commented 6 years ago

These files were not closed properly after the end of usage, which is a waste of resources. Therefore, a close() statement should be added to fix the problem.

Wetitpig commented 6 years ago

This is the warning shown:

ecj -cp jmd-cli-1.6.jar -cp ../commons-io-2.6.jar -cp ../bcel-6.2.jar jmd-cli/src/main/java/net/contra/jmd/Deobfuscator.java ---------- 1. WARNING in /storage/6464-3030/Android/data/com.termux/files/JMD/jmd-cli/src/main/java/net/contra/jmd/Deobfuscator.java (at line 82) Scanner in = new Scanner(System.in); ^^ Resource leak: 'in' is never closed ---------- 1 problem (1 warning)