74
74
* bytecode editor that works by editing per method instead of entire class, methods are in a pane like the file navigator
75
75
* Make the tabs menu and middle mouse button click work on the tab itself not just the close button.
76
76
*
77
- * 2.9.1 :
77
+ * 2.9.2 :
78
78
* make it use that global last used inside of export as jar
79
79
* Spiffy up the plugin console with hilighted lines
80
80
* Take https://github.com/ptnkjke/Java-Bytecode-Editor visualize
81
81
* fix the randomly sometimes fucked up names on file navigation bug
82
82
* make zipfile not include the decode shit
83
83
*
84
- * -----2.9.1-----:
85
- * 02/24/2015 - Fixed the third pane window not showing the search buttons.
86
- * 02/24/2015 - Fixed some issues with the compiler functionality.
84
+ * -----2.9.2-----:
85
+ * 02/24/2015 - Actually fixed the compiler, LOL.
87
86
*
88
87
* @author Konloch
89
88
*
92
91
public class BytecodeViewer {
93
92
94
93
/*per version*/
95
- public static String version = "2.9.1 " ;
94
+ public static String version = "2.9.2 " ;
96
95
public static String krakatauVersion = "2" ;
97
96
/*the rest*/
98
97
public static MainViewerGUI viewer = null ;
@@ -413,8 +412,10 @@ public static boolean compile(boolean message) {
413
412
for (java .awt .Component c : BytecodeViewer .viewer .workPane .getLoadedViewers ()) {
414
413
if (c instanceof ClassViewer ) {
415
414
ClassViewer cv = (ClassViewer ) c ;
416
- if ((cv .smali1 != null && cv .smali2 != null && cv .smali3 != null ) &&
417
- (cv .smali1 .isEditable () || cv .smali2 .isEditable () || cv .smali3 .isEditable ())) {
415
+ if ( cv .smali1 != null && cv .smali1 .isEditable () ||
416
+ cv .smali2 != null && cv .smali2 .isEditable () ||
417
+ cv .smali3 != null && cv .smali3 .isEditable ())
418
+ {
418
419
actuallyTried = true ;
419
420
Object smali [] = cv .getSmali ();
420
421
if (smali != null ) {
@@ -432,8 +433,10 @@ public static boolean compile(boolean message) {
432
433
}
433
434
434
435
435
- if ((cv .krakatau1 != null && cv .krakatau2 != null && cv .krakatau3 != null ) &&
436
- (cv .krakatau1 .isEditable () || cv .krakatau2 .isEditable () || cv .krakatau3 .isEditable ())) {
436
+ if (cv .krakatau1 != null && cv .krakatau1 .isEditable () ||
437
+ cv .krakatau2 != null && cv .krakatau2 .isEditable () ||
438
+ cv .krakatau3 != null && cv .krakatau3 .isEditable ())
439
+ {
437
440
actuallyTried = true ;
438
441
Object krakatau [] = cv .getKrakatau ();
439
442
if (krakatau != null ) {
@@ -450,8 +453,10 @@ public static boolean compile(boolean message) {
450
453
}
451
454
}
452
455
453
- if ((cv .java1 != null && cv .java2 != null && cv .java3 != null ) &&
454
- (cv .java1 .isEditable () || cv .java2 .isEditable () || cv .java3 .isEditable ())) {
456
+ if ( cv .java1 != null && cv .java1 .isEditable () ||
457
+ cv .java2 != null && cv .java2 .isEditable () ||
458
+ cv .java3 != null && cv .java3 .isEditable ())
459
+ {
455
460
actuallyTried = true ;
456
461
Object java [] = cv .getJava ();
457
462
if (java != null ) {
0 commit comments