Changeset 9213 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/NoteData.java
r8870 r9213 93 93 public NoteData(Collection<Note> notes) { 94 94 noteList = new Storage<>(); 95 for (Note note : notes) { 96 noteList.add(note); 97 if (note.getId() <= newNoteId) { 98 newNoteId = note.getId() - 1; 95 if (notes != null) { 96 for (Note note : notes) { 97 noteList.add(note); 98 if (note.getId() <= newNoteId) { 99 newNoteId = note.getId() - 1; 100 } 99 101 } 100 102 }
Note:
See TracChangeset
for help on using the changeset viewer.