Changeset 6603 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests
- Timestamp:
- 2014-01-03T04:51:04+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Lanes.java
r6598 r6603 1 // License: GPL. See LICENSE file for details. 1 2 package org.openstreetmap.josm.data.validation.tests; 2 3 4 import org.openstreetmap.josm.Main; 3 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; 4 6 import org.openstreetmap.josm.data.validation.Severity; … … 15 17 import static org.openstreetmap.josm.tools.I18n.tr; 16 18 19 /** 20 * Test that validates {@code lane:} tags. 21 * @since 6592 22 */ 17 23 public class Lanes extends Test.TagTest { 18 24 25 /** 26 * Constructs a new {@code Lanes} test. 27 */ 19 28 public Lanes() { 20 29 super(tr("Lane tags")); … … 48 57 } 49 58 } catch (NumberFormatException ignore) { 59 Main.debug(ignore.getMessage()); 50 60 } 51 61 } -
trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java
r6601 r6603 80 80 * A function mapping the matched {@link OsmPrimitive} to a {@link Tag}. 81 81 */ 82 static abstractclass PrimitiveToTag implements Utils.Function<OsmPrimitive, Tag> {82 abstract static class PrimitiveToTag implements Utils.Function<OsmPrimitive, Tag> { 83 83 84 84 /** … … 226 226 } 227 227 } catch (IndexOutOfBoundsException ignore) { 228 Main.debug(ignore.getMessage()); 228 229 } 229 230 return null;
Note:
See TracChangeset
for help on using the changeset viewer.