cleanup: spelling

master
Egor Ushakov 7 years ago
parent ba0e24955d
commit c4f23b9a16
  1. 4
      src/org/jetbrains/java/decompiler/main/extern/IFernflowerPreferences.java
  2. 2
      src/org/jetbrains/java/decompiler/modules/decompiler/exps/ExprUtil.java
  3. 2
      test/org/jetbrains/java/decompiler/SingleClassesTest.java

@ -31,7 +31,7 @@ public interface IFernflowerPreferences {
String IDEA_NOT_NULL_ANNOTATION = "inn";
String LAMBDA_TO_ANONYMOUS_CLASS = "lac";
String BYTECODE_SOURCE_MAPPING = "bsm";
String IGNOIRE_INVALID_BYTECODE = "iib";
String IGNORE_INVALID_BYTECODE = "iib";
String LOG_LEVEL = "log";
String MAX_PROCESSING_METHOD = "mpm";
@ -75,7 +75,7 @@ public interface IFernflowerPreferences {
defaults.put(IDEA_NOT_NULL_ANNOTATION, "1");
defaults.put(LAMBDA_TO_ANONYMOUS_CLASS, "0");
defaults.put(BYTECODE_SOURCE_MAPPING, "0");
defaults.put(IGNOIRE_INVALID_BYTECODE, "0");
defaults.put(IGNORE_INVALID_BYTECODE, "0");
defaults.put(LOG_LEVEL, IFernflowerLogger.Severity.INFO.name());
defaults.put(MAX_PROCESSING_METHOD, "0");

@ -26,7 +26,7 @@ public class ExprUtil {
if (wrapper != null) {
// own class
MethodWrapper methodWrapper = wrapper.getMethodWrapper(CodeConstants.INIT_NAME, descriptor);
if (methodWrapper == null && DecompilerContext.getOption(IFernflowerPreferences.IGNOIRE_INVALID_BYTECODE)) {
if (methodWrapper == null && DecompilerContext.getOption(IFernflowerPreferences.IGNORE_INVALID_BYTECODE)) {
return null;
}
mask = methodWrapper.synthParameters;

@ -24,7 +24,7 @@ public class SingleClassesTest {
fixture = new DecompilerTestFixture();
fixture.setUp(IFernflowerPreferences.BYTECODE_SOURCE_MAPPING, "1",
IFernflowerPreferences.DUMP_ORIGINAL_LINES, "1",
IFernflowerPreferences.IGNOIRE_INVALID_BYTECODE, "1");
IFernflowerPreferences.IGNORE_INVALID_BYTECODE, "1");
}
@After

Loading…
Cancel
Save