mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 07:20:46 +00:00
ASDec: Formatting code, organize imports
This commit is contained in:
@@ -578,12 +578,12 @@ public class Action {
|
||||
* @return String with Source code
|
||||
*/
|
||||
public static String actionsToSource(List<Action> actions, int version) {
|
||||
try{
|
||||
List<TreeItem> tree = actionsToTree(new HashMap<Integer, String>(), actions, version);
|
||||
|
||||
return treeToString(tree);
|
||||
}catch(Exception ex){
|
||||
return "//Decompilation error :"+ex.getLocalizedMessage();
|
||||
try {
|
||||
List<TreeItem> tree = actionsToTree(new HashMap<Integer, String>(), actions, version);
|
||||
|
||||
return treeToString(tree);
|
||||
} catch (Exception ex) {
|
||||
return "//Decompilation error :" + ex.getLocalizedMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user