Changeset 19129 in osm for applications/editors/josm/plugins/terracer
- Timestamp:
- 2009-12-17T21:39:38+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/terracer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/build.xml
r18924 r19129 32 32 33 33 34 <property name="commit.message" value=" Updated to new referrer support in OsmPrimitive" />34 <property name="commit.message" value="Compatibility issues with Java 1.5. We didn't switch to 1.6 yet." /> 35 35 <property name="plugin.main.version" value="2565" /> 36 36 -
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputHandler.java
r19085 r19129 22 22 import javax.swing.event.ChangeEvent; 23 23 import javax.swing.event.ChangeListener; 24 24 25 25 import org.openstreetmap.josm.data.osm.Way; 26 26 … … 184 184 final String label, final StringBuffer message) { 185 185 final String content = field.getText(); 186 if (content != null && !content.isEmpty()) {186 if (content != null && content.length() != 0) { 187 187 try { 188 188 int i = Integer.parseInt(content); … … 216 216 * @see javax.swing.event.ChangeListener#stateChanged(javax.swing.event.ChangeEvent) 217 217 */ 218 @Override219 218 public void stateChanged(ChangeEvent e) { 220 219 validateInput(); … … 225 224 * @see java.awt.event.ItemListener#itemStateChanged(java.awt.event.ItemEvent) 226 225 */ 227 @Override228 226 public void itemStateChanged(ItemEvent e) { 229 227 validateInput(); … … 233 231 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) 234 232 */ 235 @Override236 233 public void actionPerformed(final ActionEvent e) { 237 234 … … 327 324 * @see java.awt.event.FocusListener#focusGained(java.awt.event.FocusEvent) 328 325 */ 329 @Override330 326 public void focusGained(FocusEvent e) { 331 327 validateInput(); … … 335 331 * @see java.awt.event.FocusListener#focusLost(java.awt.event.FocusEvent) 336 332 */ 337 @Override338 333 public void focusLost(FocusEvent e) { 339 334 validateInput();
Note:
See TracChangeset
for help on using the changeset viewer.