Changeset 6246 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2013-09-22T18:36:07+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 5 edited
-
Version.java (modified) (1 diff)
-
gpx/WayPoint.java (modified) (1 diff)
-
osm/AbstractPrimitive.java (modified) (1 diff)
-
osm/WaySegment.java (modified) (1 diff)
-
validation/OsmValidator.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Version.java
r6087 r6246 131 131 isLocalBuild = false; 132 132 value = properties.get("Is-Local-Build"); 133 if (value != null && value.trim(). toLowerCase().equals("true")) {133 if (value != null && value.trim().equalsIgnoreCase("true")) { 134 134 isLocalBuild = true; 135 135 } -
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r6203 r6246 1 //License: GPLv2 or later 2 //Copyright 2007 by Raphael Mack and others 3 1 // License: GPL. For details, see LICENSE file. 4 2 package org.openstreetmap.josm.data.gpx; 5 3 -
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r6215 r6246 398 398 @Override 399 399 public void setVisible(boolean visible) throws IllegalStateException{ 400 if (isNew() && visible == false)400 if (isNew() && !visible) 401 401 throw new IllegalStateException(tr("A primitive with ID = 0 cannot be invisible.")); 402 402 updateFlags(FLAG_VISIBLE, visible); -
trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
r5909 r6246 50 50 51 51 @Override public boolean equals(Object o) { 52 return o != null && oinstanceof WaySegment52 return o instanceof WaySegment 53 53 && ((WaySegment) o).way == way 54 54 && ((WaySegment) o).lowerIndex == lowerIndex; -
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r6192 r6246 84 84 */ 85 85 @SuppressWarnings("unchecked") 86 p ublicstatic Class<Test>[] allAvailableTests = new Class[] {86 private static final Class<Test>[] allAvailableTests = new Class[] { 87 87 DuplicateNode.class, // ID 1 .. 99 88 88 OverlappingWays.class, // ID 101 .. 199
Note:
See TracChangeset
for help on using the changeset viewer.
