Changeset 2655 in josm for trunk/src/org/openstreetmap/josm/gui/io/FilenameCellEditor.java
- Timestamp:
- 2009-12-19T10:47:49+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/FilenameCellEditor.java
r2512 r2655 72 72 73 73 public void addCellEditorListener(CellEditorListener l) { 74 if ( !listeners.contains(l)) {75 listeners.add(l); 74 if (l != null) { 75 listeners.addIfAbsent(l); 76 76 } 77 77 } … … 102 102 103 103 public void removeCellEditorListener(CellEditorListener l) { 104 if (listeners.contains(l)) { 105 listeners.remove(l); 106 } 104 listeners.remove(l); 107 105 } 108 106
Note:
See TracChangeset
for help on using the changeset viewer.
