Changeset 6890 in josm for trunk/src/org/openstreetmap/josm/data/osm/history
- Timestamp:
- 2014-02-27T02:50:12+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/history
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNode.java
r6830 r6890 73 73 * @return the coordinates. May be null. 74 74 */ 75 public LatLon getCoords() {75 public final LatLon getCoords() { 76 76 return coords; 77 77 } … … 81 81 * @param coords the coordinates. Can be null. 82 82 */ 83 public void setCoords(LatLon coords) {83 public final void setCoords(LatLon coords) { 84 84 this.coords = coords; 85 85 } -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java
r6830 r6890 38 38 private Map<String, String> tags; 39 39 40 protected void ensurePositiveLong(long value, String name) {40 protected final void ensurePositiveLong(long value, String name) { 41 41 if (value <= 0) { 42 42 throw new IllegalArgumentException(MessageFormat.format("Parameter ''{0}'' > 0 expected. Got ''{1}''.", name, value));
Note:
See TracChangeset
for help on using the changeset viewer.