ASDec: Formatting code, organize imports

This commit is contained in:
Jindra Pet��k
2012-12-28 09:53:30 +01:00
parent 07c6cfcfca
commit 1223dd8aad
36 changed files with 149 additions and 248 deletions
+6 -6
View File
@@ -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();
}
}