mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 17:18:05 +00:00
ASa/2 closing curly bracket at the end of definefunction when empty body
This commit is contained in:
@@ -155,7 +155,7 @@ public class ActionDefineFunction extends Action implements GraphSourceItemConta
|
||||
paramStr += " ";
|
||||
}
|
||||
|
||||
return "DefineFunction \"" + Helper.escapeString(functionName) + "\" " + paramNames.size() + " " + paramStr + " {";// + "\r\n" +Action.actionsToString(getAddress() + getHeaderLength(),getItems(container) , knownAddreses, constantPool, version, hex, getFileAddress() + hdrSize) + "}";
|
||||
return "DefineFunction \"" + Helper.escapeString(functionName) + "\" " + paramNames.size() + " " + paramStr + " {"+(codeSize==0?"\r\n}":"");// + "\r\n" +Action.actionsToString(getAddress() + getHeaderLength(),getItems(container) , knownAddreses, constantPool, version, hex, getFileAddress() + hdrSize) + "}";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -267,7 +267,7 @@ public class ActionDefineFunction2 extends Action implements GraphSourceItemCont
|
||||
+ " " + preloadArgumentsFlag
|
||||
+ " " + suppressThisFlag
|
||||
+ " " + preloadThisFlag
|
||||
+ " " + preloadGlobalFlag).trim() + " " + paramStr + " {";// + "\r\n" + Action.actionsToString(getAddress() + getHeaderLength(), getItems(container), knownAddreses, constantPool, version, hex, getFileAddress() + hdrSize) + "}";
|
||||
+ " " + preloadGlobalFlag).trim() + " " + paramStr + " {"+(codeSize==0?"\r\n}":"");// + "\r\n" + Action.actionsToString(getAddress() + getHeaderLength(), getItems(container), knownAddreses, constantPool, version, hex, getFileAddress() + hdrSize) + "}";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user