Changeset 7083 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2014-05-09T06:03:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r7033 r7083 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.io.imagery; 3 4 import static org.openstreetmap.josm.tools.Utils.equal;5 3 6 4 import java.io.IOException; … … 9 7 import java.util.Arrays; 10 8 import java.util.List; 9 import java.util.Objects; 11 10 import java.util.Stack; 12 11 … … 176 175 } 177 176 states.push(newState); 178 if (newState == State.UNKNOWN && equal(atts.getValue("mandatory"), "true")) {177 if (newState == State.UNKNOWN && "true".equals(atts.getValue("mandatory"))) { 179 178 skipEntry = true; 180 179 } … … 208 207 boolean found = false; 209 208 for (ImageryType type : ImageryType.values()) { 210 if ( equal(accumulator.toString(), type.getTypeString())) {209 if (Objects.equals(accumulator.toString(), type.getTypeString())) { 211 210 entry.setImageryType(type); 212 211 found = true;
Note:
See TracChangeset
for help on using the changeset viewer.