Changeset 12492 in josm
- Timestamp:
- 2017-07-22T16:28:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/placement/OnLineStrategy.java
r12490 r12492 345 345 @Override 346 346 public String toString() { 347 return "OnLineStrategy [yOffset=" + yOffset + "]";347 return "OnLineStrategy [yOffset=" + yOffset + ']'; 348 348 } 349 349 … … 367 367 } 368 368 OnLineStrategy other = (OnLineStrategy) obj; 369 if (Double.doubleToLongBits(yOffset) != Double.doubleToLongBits(other.yOffset)) { 370 return false; 371 } 372 return true; 369 return Double.doubleToLongBits(yOffset) == Double.doubleToLongBits(other.yOffset); 373 370 } 374 371 }
Note:
See TracChangeset
for help on using the changeset viewer.