@@ -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 );
@@ -1612,7 +1613,7 @@ public void actionPerformed(ActionEvent e) {
1612
1613
};
1613
1614
List <TargetBoard > boards = (List <TargetBoard >) subAction .getValue ("board" );
1614
1615
if (boards == null ) {
1615
- boards = new ArrayList <TargetBoard >();
1616
+ boards = new ArrayList <>();
1616
1617
}
1617
1618
boards .add (board );
1618
1619
subAction .putValue ("board" , boards );
@@ -2013,6 +2014,7 @@ public void keyPressed(KeyEvent e) {
2013
2014
Base .this .handleFontSizeChange (-1 );
2014
2015
}
2015
2016
break ;
2017
+ default :
2016
2018
}
2017
2019
}
2018
2020
}
0 commit comments