Code Cleanup

This commit is contained in:
Konloch 2022-01-22 13:06:18 -06:00
parent 845ae248ab
commit 5334a2da20

View file

@ -25,7 +25,7 @@ public class ExampleStringDecrypter extends Plugin {
boolean needsWarning = false;
for (ClassNode cn : classNodesList) {
try {
//load the class node into the classloader
BCV.getClassNodeLoader().addClass(cn);
@ -43,14 +43,16 @@ public class ExampleStringDecrypter extends Plugin {
if (s != null && !s.isEmpty())
gui.appendText(cn + ":" + s);
}
} catch (Exception ignored) {
}
}
}
} catch (Exception e) {
gui.appendText("Failed loading class " + cn.name);
e.printStackTrace();
needsWarning = true;
}
}
}
}
if (needsWarning) {
BytecodeViewer.showMessage("Some classes failed to decrypt, if you'd like to decrypt all of them\n"
@ -60,5 +62,4 @@ public class ExampleStringDecrypter extends Plugin {
gui.setVisible(true);
}
}
}