java-decompiler: post-import cleanup (OS-dependent line separator)

This commit is contained in:
Roman Shevchenko
2014-09-01 16:19:31 +04:00
parent 984af2e7d0
commit d5fe121d1d
2 changed files with 3 additions and 2 deletions

View File

@@ -75,9 +75,10 @@ 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, "0");
put(NEW_LINE_SEPARATOR, (win ? "0" : "1"));
put(INDENT_STRING, " ");
}});
}