Changeset 8238 in josm
- Timestamp:
- 2015-04-19T22:46:20+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/NodeElemStyle.java
r8199 r8238 359 359 hash = 17 * hash + (mapImage != null ? mapImage.hashCode() : 0); 360 360 hash = 17 * hash + (symbol != null ? symbol.hashCode() : 0); 361 hash = 17 * hash + (mapImageAngle != null ? mapImageAngle.hashCode() : 0); 361 362 return hash; 362 363 } … … 374 375 return false; 375 376 if (!Objects.equals(symbol, other.symbol)) 377 return false; 378 if (!Objects.equals(mapImageAngle, other.mapImageAngle)) 376 379 return false; 377 380 return true; … … 388 391 s.append(" symbol=[" + symbol + "]"); 389 392 } 393 if (mapImageAngle != null) { 394 s.append(" mapImageAngle=[" + mapImageAngle + "]"); 395 } 390 396 s.append('}'); 391 397 return s.toString(); -
trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java
r8199 r8238 28 28 public double getRotationAngle(OsmPrimitive p) { 29 29 return angle; 30 } 31 32 @Override 33 public String toString() { 34 return angle + "rad"; 30 35 } 31 36 }; … … 116 121 } 117 122 } 123 124 @Override 125 public String toString() { 126 return "way-direction"; 127 } 118 128 }; 119 129 }
Note:
See TracChangeset
for help on using the changeset viewer.