Changeset 22704 in osm for applications/editors/josm/plugins/toms/src
- Timestamp:
- 2010-08-20T13:34:48+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r22692 r22704 893 893 lM01StyleOfMark.setBounds(new Rectangle(5, 90, 148, 16)); 894 894 lM01StyleOfMark.setFont(new Font("Dialog", Font.PLAIN, 12)); 895 lM01StyleOfMark.setText("S tyle:");895 lM01StyleOfMark.setText("Shape:"); 896 896 897 897 lM01TypeOfMark = new JLabel(); -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r22683 r22704 155 155 setErrMsg(null); 156 156 } else { 157 setErrMsg(" Als Periodendauer sind nur Zahlen erlaubt");157 setErrMsg("Must be a number"); 158 158 dlg.tfM01RepeatTime.requestFocus(); 159 159 } … … 294 294 295 295 protected void saveLightData(String colour) { 296 if (colour. compareTo("") == 0) {296 if (colour.equals("")) { 297 297 return; 298 298 } -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyCard.java
r22683 r22704 213 213 } 214 214 215 if (str. compareTo("white") == 0) {215 if (str.equals("white")) { 216 216 setFired(true); 217 217 setLightColour("W"); … … 244 244 str = keys.get("seamark:buoy_cardinal:shape"); 245 245 246 if (str. compareTo("pillar") == 0)246 if (str.equals("pillar")) 247 247 setStyleIndex(CARD_PILLAR); 248 else if (str. compareTo("spar") == 0)248 else if (str.equals("spar")) 249 249 setStyleIndex(CARD_SPAR); 250 250 else … … 254 254 str = keys.get("seamark:beacon_cardinal:shape"); 255 255 256 if (str. compareTo("tower") == 0)256 if (str.equals("tower")) 257 257 setStyleIndex(CARD_TOWER); 258 258 else -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyIsol.java
r22692 r22704 233 233 str = keys.get("seamark:buoy_isolated_danger:shape"); 234 234 235 if (str. compareTo("pillar") == 0)235 if (str.equals("pillar")) 236 236 setStyleIndex(ISOL_PILLAR); 237 else if (str. compareTo("spar") == 0)237 else if (str.equals("spar")) 238 238 setStyleIndex(ISOL_SPAR); 239 239 else … … 243 243 str = keys.get("seamark:beacon_isolated_danger:shape"); 244 244 245 if (str. compareTo("tower") == 0)245 if (str.equals("tower")) 246 246 setStyleIndex(ISOL_TOWER); 247 247 else
Note:
See TracChangeset
for help on using the changeset viewer.