mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-11 13:42:21 +00:00
code reformating, unused imports strip
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
package com.jpexs.asdec;
|
||||
|
||||
import com.jpexs.asdec.abc.avm2.AVM2Code;
|
||||
import com.jpexs.asdec.abc.avm2.parser.ASM3Parser;
|
||||
import com.jpexs.asdec.abc.avm2.parser.ParseException;
|
||||
import com.jpexs.asdec.abc.types.MethodBody;
|
||||
import com.jpexs.asdec.gui.AboutDialog;
|
||||
import com.jpexs.asdec.gui.LoadingDialog;
|
||||
@@ -144,7 +142,7 @@ public class Main {
|
||||
public static void startWork(String name) {
|
||||
startWork(name, -1);
|
||||
}
|
||||
|
||||
|
||||
public static void startWork(String name, int percent) {
|
||||
working = true;
|
||||
if (mainFrame != null) {
|
||||
@@ -482,13 +480,14 @@ public class Main {
|
||||
}
|
||||
}
|
||||
|
||||
public static final void printASM(AVM2Code code){
|
||||
String s=Highlighting.stripHilights(code.toASMSource(null, new MethodBody()));
|
||||
String ss[]=s.split("\n");
|
||||
for(int i=0;i<ss.length;i++){
|
||||
System.out.println(""+i+":"+ss[i]);
|
||||
}
|
||||
public static final void printASM(AVM2Code code) {
|
||||
String s = Highlighting.stripHilights(code.toASMSource(null, new MethodBody()));
|
||||
String ss[] = s.split("\n");
|
||||
for (int i = 0; i < ss.length; i++) {
|
||||
System.out.println("" + i + ":" + ss[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param args the command line arguments
|
||||
*/
|
||||
@@ -496,7 +495,7 @@ public class Main {
|
||||
View.setLookAndFeel();
|
||||
Configuration.load();
|
||||
checkSWT(args);
|
||||
|
||||
|
||||
int pos = 0;
|
||||
if (args.length > 0) {
|
||||
if (args[0].equals("-debug")) {
|
||||
|
||||
Reference in New Issue
Block a user