@@ -999,9 +999,9 @@ public boolean handleQuit() {
999
999
// kill uploader (if still alive)
1000
1000
UploaderUtils uploaderInstance = new UploaderUtils ();
1001
1001
Uploader uploader = uploaderInstance .getUploaderByPreferences (false );
1002
- if (uploader != null && uploader .programmerPid != null && uploader .programmerPid .isAlive ()) {
1002
+ if (uploader != null && Uploader .programmerPid != null && Uploader .programmerPid .isAlive ()) {
1003
1003
// kill the stuck programmer
1004
- uploader .programmerPid .destroyForcibly ();
1004
+ Uploader .programmerPid .destroyForcibly ();
1005
1005
}
1006
1006
1007
1007
if (handleQuitEach ()) {
@@ -1444,8 +1444,9 @@ public void actionPerformed(ActionEvent actionevent) {
1444
1444
String filterText = "" ;
1445
1445
String dropdownItem = "" ;
1446
1446
if (actionevent instanceof Event ) {
1447
- filterText = ((Event ) actionevent ).getPayload ().get ("filterText" ).toString ();
1448
- dropdownItem = ((Event ) actionevent ).getPayload ().get ("dropdownItem" ).toString ();
1447
+ Event e = ((Event ) actionevent );
1448
+ filterText = e .getPayload ().get ("filterText" ).toString ();
1449
+ dropdownItem = e .getPayload ().get ("dropdownItem" ).toString ();
1449
1450
}
1450
1451
try {
1451
1452
openBoardsManager (filterText , dropdownItem );
@@ -1605,7 +1606,7 @@ public void actionPerformed(ActionEvent e) {
1605
1606
};
1606
1607
List <TargetBoard > boards = (List <TargetBoard >) subAction .getValue ("board" );
1607
1608
if (boards == null ) {
1608
- boards = new ArrayList <TargetBoard >();
1609
+ boards = new ArrayList <>();
1609
1610
}
1610
1611
boards .add (board );
1611
1612
subAction .putValue ("board" , boards );
@@ -2006,6 +2007,7 @@ public void keyPressed(KeyEvent e) {
2006
2007
Base .this .handleFontSizeChange (-1 );
2007
2008
}
2008
2009
break ;
2010
+ default :
2009
2011
}
2010
2012
}
2011
2013
}
0 commit comments