Changeset 10378 in josm for trunk/src/org/openstreetmap/josm/gui/history
- Timestamp:
- 2016-06-15T10:30:37+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/history
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r10345 r10378 306 306 if (reference.getId() != history.getId()) 307 307 throw new IllegalArgumentException( 308 tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(), 308 tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(), history.getId())); 309 309 HistoryOsmPrimitive primitive = history.getByVersion(reference.getVersion()); 310 310 if (primitive == null) … … 337 337 if (current.getId() != history.getId()) 338 338 throw new IllegalArgumentException( 339 tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(), 339 tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(), history.getId())); 340 340 HistoryOsmPrimitive primitive = history.getByVersion(current.getVersion()); 341 341 if (primitive == null) … … 374 374 * @throws IllegalArgumentException if type is null 375 375 */ 376 public HistoryOsmPrimitive getPointInTime(PointInTimeType type) 376 public HistoryOsmPrimitive getPointInTime(PointInTimeType type) { 377 377 CheckParameterUtil.ensureParameterNotNull(type, "type"); 378 378 if (type.equals(PointInTimeType.CURRENT_POINT_IN_TIME)) -
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r10210 r10378 194 194 195 195 protected static String getUserUrl(String username) { 196 return Main.getBaseUserUrl() + '/' + 196 return Main.getBaseUserUrl() + '/' + Utils.encodeUrl(username).replaceAll("\\+", "%20"); 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.