@@ -87,7 +87,7 @@ public class BoardDescription extends Common {
87
87
private String myProgrammer = Defaults .getDefaultUploadProtocol ();
88
88
private String myBoardID = EMPTY ;
89
89
private Map <String , String > myOptions = new TreeMap <>(String .CASE_INSENSITIVE_ORDER );
90
- private boolean myIsVersionControlled = false ;
90
+
91
91
92
92
/*
93
93
* Stuff to make things work
@@ -108,7 +108,7 @@ public class BoardDescription extends Common {
108
108
private final String KEY_SLOEBER_UPLOAD_PORT = "UPLOAD.PORT" ; //$NON-NLS-1$
109
109
private final String KEY_SLOEBER_UPLOAD_TOOL = "UPLOAD.TOOL" ; //$NON-NLS-1$
110
110
private final String KEY_SLOEBER_MENU_SELECTION = "BOARD.MENU" ; //$NON-NLS-1$
111
- private final String KEY_SLOEBER_IS_VERSION_CONTROLLED = "IS_VERSION_CONTROLLED" ; //$NON-NLS-1$
111
+
112
112
113
113
@ Override
114
114
public String toString () {
@@ -449,9 +449,8 @@ public void setUploadPort(String newUploadPort) {
449
449
this .myUploadPort = newUploadPort ;
450
450
}
451
451
452
- public void setUploadProtocol (String newUploadProtocol ) {
452
+ public void setProgrammer (String newUploadProtocol ) {
453
453
this .myProgrammer = newUploadProtocol ;
454
-
455
454
}
456
455
457
456
public void setBoardID (String boardID ) {
@@ -759,7 +758,6 @@ private Map<String, String> getEnvVarsTxt() {
759
758
this .myUploadPort = section .getValue (KEY_SLOEBER_UPLOAD_PORT );
760
759
this .myUploadTool = section .getValue (KEY_SLOEBER_UPLOAD_TOOL );
761
760
KeyValueTree optionsTree = section .getChild (KEY_SLOEBER_MENU_SELECTION );
762
- myIsVersionControlled = Const .TRUE .equalsIgnoreCase (section .getValue (KEY_SLOEBER_IS_VERSION_CONTROLLED ));
763
761
Map <String , String > options = optionsTree .toKeyValues (EMPTY , false );
764
762
765
763
myreferencingBoardsFile = new File (board_txt );
@@ -804,7 +802,6 @@ public Map<String, String> getEnvVarsConfig(String prefix) {
804
802
allVars .put (prefix + KEY_SLOEBER_BOARD_TXT , board_txt );
805
803
allVars .put (prefix + KEY_SLOEBER_UPLOAD_PORT , myUploadPort );
806
804
allVars .put (prefix + KEY_SLOEBER_UPLOAD_TOOL , myUploadTool );
807
- allVars .put (prefix + KEY_SLOEBER_IS_VERSION_CONTROLLED , Boolean .valueOf (myIsVersionControlled ).toString ());
808
805
809
806
for (Entry <String , String > curOption : myOptions .entrySet ()) {
810
807
allVars .put (prefix + KEY_SLOEBER_MENU_SELECTION + DOT + curOption .getKey (), curOption .getValue ());
@@ -1093,17 +1090,9 @@ public static BoardDescription getFromCDT(ICConfigurationDescription confDesc) {
1093
1090
ret .myreferencingBoardsFile = new File (getOldWayEnvVar (confDesc , "JANTJE.boards_file" ));
1094
1091
ret .myBoardID = getOldWayEnvVar (confDesc , "JANTJE.board_ID" );
1095
1092
ret .myTxtFile = new BoardTxtFile (ret .myreferencingBoardsFile );
1096
- ret .myIsVersionControlled = false ;
1097
1093
String optinconcat = getOldWayEnvVar (confDesc , "JANTJE.menu" );
1098
1094
ret .myOptions = KeyValue .makeMap (optinconcat );
1099
1095
return null ;
1100
1096
}
1101
1097
1102
- public boolean IsVersionControlled () {
1103
- return myIsVersionControlled ;
1104
- }
1105
-
1106
- public void setVersionControlled (boolean myIsVersionControlled ) {
1107
- this .myIsVersionControlled = myIsVersionControlled ;
1108
- }
1109
1098
}
0 commit comments