Changeset 6665 in josm for trunk/src/org
- Timestamp:
- 2014-01-10T19:10:29+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
r6604 r6665 52 52 53 53 /** 54 * Constructs a new {@code UnclosedWaysCheck}. 54 * Constructs a new {@code UnclosedWaysCheck}. 55 55 * @param code The unique numeric code for this check 56 56 * @param key The OSM key checked … … 59 59 @SuppressWarnings("unchecked") 60 60 public UnclosedWaysCheck(int code, String key, String engMessage) { 61 this(code, key, engMessage, (List<String>)Collections.EMPTY_LIST);61 this(code, key, engMessage, Collections.EMPTY_LIST); 62 62 } 63 63 64 64 /** 65 * Constructs a new {@code UnclosedWaysCheck}. 65 * Constructs a new {@code UnclosedWaysCheck}. 66 66 * @param code The unique numeric code for this check 67 67 * @param key The OSM key checked … … 74 74 75 75 /** 76 * Constructs a new {@code UnclosedWaysCheck}. 76 * Constructs a new {@code UnclosedWaysCheck}. 77 77 * @param code The unique numeric code for this check 78 78 * @param key The OSM key checked 79 79 * @param engMessage The English message 80 80 * @param specialValues The special values, to be ignored if ignore is set to true; to be considered only if ignore is set to false 81 * @param ignore indicates if special values must be ignored or considered only 81 * @param ignore indicates if special values must be ignored or considered only 82 82 */ 83 83 public UnclosedWaysCheck(int code, String key, String engMessage, List<String> specialValues, boolean ignore) { … … 92 92 * Returns the test error of the given way, if any. 93 93 * @param w The way to check 94 * @return The test error if the way is erroneous, {@code null} otherwise 94 * @return The test error if the way is erroneous, {@code null} otherwise 95 95 */ 96 96 public final TestError getTestError(Way w) { … … 120 120 121 121 /** 122 * Constructs a new {@code UnclosedWaysBooleanCheck}. 122 * Constructs a new {@code UnclosedWaysBooleanCheck}. 123 123 * @param code The unique numeric code for this check 124 124 * @param key The OSM key checked … … 142 142 new UnclosedWaysCheck(1103, "amenities", marktr("amenities type {0}")), 143 143 new UnclosedWaysCheck(1104, "sport", marktr("sport type {0}"), Arrays.asList("water_slide", "climbing")), 144 new UnclosedWaysCheck(1105, "tourism", marktr("tourism type {0}") ),144 new UnclosedWaysCheck(1105, "tourism", marktr("tourism type {0}"), Arrays.asList("attraction")), 145 145 new UnclosedWaysCheck(1106, "shop", marktr("shop type {0}")), 146 146 new UnclosedWaysCheck(1107, "leisure", marktr("leisure type {0}"), Arrays.asList("track")),
Note:
See TracChangeset
for help on using the changeset viewer.