Change indent string to use tabs

This commit is contained in:
Lucwousin
2019-07-28 18:09:19 +02:00
parent 341bb8bb05
commit b5fa091982
2 changed files with 3 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ public interface IFernflowerPreferences {
defaults.put(MAX_PROCESSING_METHOD, "0"); defaults.put(MAX_PROCESSING_METHOD, "0");
defaults.put(RENAME_ENTITIES, "0"); defaults.put(RENAME_ENTITIES, "0");
defaults.put(NEW_LINE_SEPARATOR, (InterpreterUtil.IS_WINDOWS ? "0" : "1")); defaults.put(NEW_LINE_SEPARATOR, (InterpreterUtil.IS_WINDOWS ? "0" : "1"));
defaults.put(INDENT_STRING, " "); defaults.put(INDENT_STRING, " ");
defaults.put(BANNER, ""); defaults.put(BANNER, "");
defaults.put(UNIT_TEST_MODE, "0"); defaults.put(UNIT_TEST_MODE, "0");
defaults.put(DUMP_ORIGINAL_LINES, "0"); defaults.put(DUMP_ORIGINAL_LINES, "0");

View File

@@ -22,7 +22,8 @@ public class SingleClassesTest {
@Before @Before
public void setUp() throws IOException { public void setUp() throws IOException {
fixture = new DecompilerTestFixture(); fixture = new DecompilerTestFixture();
fixture.setUp(IFernflowerPreferences.BYTECODE_SOURCE_MAPPING, "1", fixture.setUp(IFernflowerPreferences.INDENT_STRING, " ",
IFernflowerPreferences.BYTECODE_SOURCE_MAPPING, "1",
IFernflowerPreferences.DUMP_ORIGINAL_LINES, "1", IFernflowerPreferences.DUMP_ORIGINAL_LINES, "1",
IFernflowerPreferences.IGNORE_INVALID_BYTECODE, "1", IFernflowerPreferences.IGNORE_INVALID_BYTECODE, "1",
IFernflowerPreferences.VERIFY_ANONYMOUS_CLASSES, "1"); IFernflowerPreferences.VERIFY_ANONYMOUS_CLASSES, "1");