Ticket #17684: 17684-fix-java-code.patch
File 17684-fix-java-code.patch, 893 bytes (added by , 6 years ago) |
---|
-
src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java
605 605 } else if ("value".equals(type)) { 606 606 return tag.getValue(); 607 607 } else if ("tag".equals(type)) { 608 // see #17684 609 if (p != null) { 610 String val = p.get(tag.getKey()); 611 if (val != null) 612 return new Tag(tag.getKey(), val).toString(); 613 } 608 614 return tag.toString(); 609 615 } 610 616 } catch (IndexOutOfBoundsException ignore) {