summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-14 10:02:56 +1000
committermd_5 <git@md-5.net>2018-07-14 10:05:56 +1000
commitc6921030f497a7955f4a6145b8b013e6870567ff (patch)
tree1a31d1d457dc5b389e2d6893eccaab2922d34dd8 /src/org/jetbrains/java/decompiler
parent93b2c6d59bd82283cf2f7221e02481ba2fd7f5c2 (diff)
downloadfernflower-c6921030f497a7955f4a6145b8b013e6870567ff.tar
fernflower-c6921030f497a7955f4a6145b8b013e6870567ff.tar.gz
fernflower-c6921030f497a7955f4a6145b8b013e6870567ff.tar.lz
fernflower-c6921030f497a7955f4a6145b8b013e6870567ff.tar.xz
fernflower-c6921030f497a7955f4a6145b8b013e6870567ff.zip
Format via embedded eclipse formatter & add determinerHEADmaster
Diffstat (limited to 'src/org/jetbrains/java/decompiler')
-rw-r--r--src/org/jetbrains/java/decompiler/main/Fernflower.java2
1 files changed, 1 insertions, 1 deletions
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);