Skip to content

Commit

Permalink
make fields static (that should have been static)
Browse files Browse the repository at this point in the history
  • Loading branch information
jantje committed Dec 22, 2021
1 parent fde6ba1 commit cdfd191
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public class BoardDescription {
private static final String ENV_KEY_PLATFORM_PATH = RUNTIME + DOT + PLATFORM + DOT + PATH;

// stuff to store last used board
private final String KEY_SLOEBER_PROGRAMMER = "PROGRAMMER.NAME"; //$NON-NLS-1$
private final String KEY_SLOEBER_BOARD_TXT = "BOARD.TXT"; //$NON-NLS-1$
private final String KEY_SLOEBER_BOARD_ID = "BOARD.ID"; //$NON-NLS-1$
private final String KEY_SLOEBER_UPLOAD_PORT = "UPLOAD.PORT"; //$NON-NLS-1$
private final String KEY_SLOEBER_MENU_SELECTION = "BOARD.MENU"; //$NON-NLS-1$
private static final String KEY_SLOEBER_PROGRAMMER = "PROGRAMMER.NAME"; //$NON-NLS-1$
private static final String KEY_SLOEBER_BOARD_TXT = "BOARD.TXT"; //$NON-NLS-1$
private static final String KEY_SLOEBER_BOARD_ID = "BOARD.ID"; //$NON-NLS-1$
private static final String KEY_SLOEBER_UPLOAD_PORT = "UPLOAD.PORT"; //$NON-NLS-1$
private static final String KEY_SLOEBER_MENU_SELECTION = "BOARD.MENU"; //$NON-NLS-1$
private static final IEclipsePreferences myStorageNode = InstanceScope.INSTANCE.getNode(NODE_ARDUINO);

/*
Expand Down Expand Up @@ -626,8 +626,8 @@ public IPath getArduinoPlatformPath() {
return null;
}
ArduinoPlatformVersion platformVersion = platform.getNewestInstalled();
if(platformVersion==null) {
return null;
if (platformVersion == null) {
return null;
}
return platformVersion.getInstallPath();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.sloeber.core.txt.TxtFile;

public class OtherDescription {
private final String KEY_SLOEBER_IS_VERSION_CONTROLLED = "IS_VERSION_CONTROLLED"; //$NON-NLS-1$
private static final String KEY_SLOEBER_IS_VERSION_CONTROLLED = "IS_VERSION_CONTROLLED"; //$NON-NLS-1$

private boolean myIsVersionControlled = false;

Expand Down

0 comments on commit cdfd191

Please sign in to comment.