File tree 2 files changed +8
-8
lines changed
io.sloeber.core/src/io/sloeber/core/api
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ public class BoardDescription {
52
52
private static final String ENV_KEY_PLATFORM_PATH = RUNTIME + DOT + PLATFORM + DOT + PATH ;
53
53
54
54
// stuff to store last used board
55
- private final String KEY_SLOEBER_PROGRAMMER = "PROGRAMMER.NAME" ; //$NON-NLS-1$
56
- private final String KEY_SLOEBER_BOARD_TXT = "BOARD.TXT" ; //$NON-NLS-1$
57
- private final String KEY_SLOEBER_BOARD_ID = "BOARD.ID" ; //$NON-NLS-1$
58
- private final String KEY_SLOEBER_UPLOAD_PORT = "UPLOAD.PORT" ; //$NON-NLS-1$
59
- private final String KEY_SLOEBER_MENU_SELECTION = "BOARD.MENU" ; //$NON-NLS-1$
55
+ private static final String KEY_SLOEBER_PROGRAMMER = "PROGRAMMER.NAME" ; //$NON-NLS-1$
56
+ private static final String KEY_SLOEBER_BOARD_TXT = "BOARD.TXT" ; //$NON-NLS-1$
57
+ private static final String KEY_SLOEBER_BOARD_ID = "BOARD.ID" ; //$NON-NLS-1$
58
+ private static final String KEY_SLOEBER_UPLOAD_PORT = "UPLOAD.PORT" ; //$NON-NLS-1$
59
+ private static final String KEY_SLOEBER_MENU_SELECTION = "BOARD.MENU" ; //$NON-NLS-1$
60
60
private static final IEclipsePreferences myStorageNode = InstanceScope .INSTANCE .getNode (NODE_ARDUINO );
61
61
62
62
/*
@@ -626,8 +626,8 @@ public IPath getArduinoPlatformPath() {
626
626
return null ;
627
627
}
628
628
ArduinoPlatformVersion platformVersion = platform .getNewestInstalled ();
629
- if (platformVersion == null ) {
630
- return null ;
629
+ if (platformVersion == null ) {
630
+ return null ;
631
631
}
632
632
return platformVersion .getInstallPath ();
633
633
}
Original file line number Diff line number Diff line change 10
10
import io .sloeber .core .txt .TxtFile ;
11
11
12
12
public class OtherDescription {
13
- private final String KEY_SLOEBER_IS_VERSION_CONTROLLED = "IS_VERSION_CONTROLLED" ; //$NON-NLS-1$
13
+ private static final String KEY_SLOEBER_IS_VERSION_CONTROLLED = "IS_VERSION_CONTROLLED" ; //$NON-NLS-1$
14
14
15
15
private boolean myIsVersionControlled = false ;
16
16
You can’t perform that action at this time.
0 commit comments