From c6921030f497a7955f4a6145b8b013e6870567ff Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 14 Jul 2018 10:02:56 +1000 Subject: Format via embedded eclipse formatter & add determiner --- src/org/jetbrains/java/decompiler/main/Fernflower.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/jetbrains/java/decompiler') diff --git a/src/org/jetbrains/java/decompiler/main/Fernflower.java b/src/org/jetbrains/java/decompiler/main/Fernflower.java index 15baac5..85d9b00 100644 --- a/src/org/jetbrains/java/decompiler/main/Fernflower.java +++ b/src/org/jetbrains/java/decompiler/main/Fernflower.java @@ -85,7 +85,7 @@ public class Fernflower implements IDecompiledData { TextBuffer buffer = new TextBuffer(ClassesProcessor.AVERAGE_CLASS_SIZE); buffer.append(DecompilerContext.getProperty(IFernflowerPreferences.BANNER).toString()); classesProcessor.writeClass(cl, buffer); - return buffer.toString(); + return org.spigotmc.fernflower.EclipseFormatter.format(buffer.toString()); // Spigot } catch (Throwable ex) { DecompilerContext.getLogger().writeMessage("Class " + cl.qualifiedName + " couldn't be fully decompiled.", ex); -- cgit v1.2.3