Skip to content

Commit 5a2c0bb

Browse files
author
jantje
committed
fix warnings
1 parent 61b2873 commit 5a2c0bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

io.sloeber.ui/src/io/sloeber/ui/preferences/LibrarySelectionPage.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ protected Control createContents(Composite parent) {
7979

8080
@Override
8181
public boolean performOk() {
82-
if (isJobRunning == false) {
83-
isJobRunning = true;
82+
if (this.isJobRunning == false) {
83+
this.isJobRunning = true;
8484
new Job(Messages.ui_Adopting_arduino_libraries) {
8585
@Override
8686
protected IStatus run(IProgressMonitor monitor) {
@@ -90,9 +90,8 @@ protected IStatus run(IProgressMonitor monitor) {
9090
}
9191
}.schedule();
9292
return true;
93-
} else {
94-
return false;
9593
}
94+
return false;
9695
}
9796

9897
public void createTree(Composite parent) {

0 commit comments

Comments
 (0)