Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmChangeReader.java
r14266 r14314 122 122 } 123 123 } 124 if (location != null && text != null) { 124 if (location != null && text != null && !text.isEmpty()) { 125 125 noteData.createNote(location, text); 126 126 } -
trunk/test/unit/org/openstreetmap/josm/io/OsmChangeReaderTest.java
r14266 r14314 63 63 " <comment text=\"something else\" />\r\n" + 64 64 " </note>\r\n" + 65 " <note lat=\"50.75\" lon=\"13.75\" id=\"-4\">\r\n" + 66 " <comment text=\"\" />\r\n" + 67 " </note>\r\n" + 65 68 " </create>\r\n" + 66 69 " <modify />\r\n" +
Note:
See TracChangeset
for help on using the changeset viewer.