cleanup: spelling

This commit is contained in:
Egor Ushakov
2018-05-21 15:50:13 +03:00
parent ba0e24955d
commit c4f23b9a16
3 changed files with 4 additions and 4 deletions

View File

@@ -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");

View File

@@ -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;

View File

@@ -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