java-decompiler: cleanups

- better signatures
- accurate suppression
- unused symbols
- typos
This commit is contained in:
Roman Shevchenko
2014-09-03 13:00:51 +04:00
parent 646f1c3f21
commit f4f9e8be28
14 changed files with 68 additions and 86 deletions

View File

@@ -15,6 +15,8 @@
*/
package org.jetbrains.java.decompiler.main.extern;
import org.jetbrains.java.decompiler.util.InterpreterUtil;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@@ -75,10 +77,9 @@ public interface IFernflowerPreferences {
put(IDEA_NOT_NULL_ANNOTATION, "1");
put(LAMBDA_TO_ANONYMOUS_CLASS, "0");
boolean win = System.getProperty("os.name", "").startsWith("Windows");
put(MAX_PROCESSING_METHOD, "0");
put(RENAME_ENTITIES, "0");
put(NEW_LINE_SEPARATOR, (win ? "0" : "1"));
put(NEW_LINE_SEPARATOR, (InterpreterUtil.IS_WINDOWS ? "0" : "1"));
put(INDENT_STRING, " ");
}});
}