java-decompiler: fixes and cleanups
- console decompiler: resource closing, lookup instead of scan, error reporting - logger interface reworked - saver interface renamed - bytecode provider returns byte array (to reduce stream leakage) - extra level of context unit avoided - unneeded exceptions, dead code, formatting
This commit is contained in:
@@ -15,9 +15,8 @@
|
||||
*/
|
||||
package org.jetbrains.java.decompiler.main.extern;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public interface IBytecodeProvider {
|
||||
|
||||
InputStream getBytecodeStream(String externPath, String internPath);
|
||||
byte[] getBytecode(String externalPath, String internalPath) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user