Ignore:
Timestamp:
2016-06-15T10:30:37+02:00 (3 years ago)
Author:
Don-vip
Message:

Checkstyle 6.19: enable SingleSpaceSeparator and fix violations

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  
    306306        if (reference.getId() != history.getId())
    307307            throw new IllegalArgumentException(
    308                     tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(),  history.getId()));
     308                    tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(), history.getId()));
    309309        HistoryOsmPrimitive primitive = history.getByVersion(reference.getVersion());
    310310        if (primitive == null)
     
    337337        if (current.getId() != history.getId())
    338338            throw new IllegalArgumentException(
    339                     tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(),  history.getId()));
     339                    tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(), history.getId()));
    340340        HistoryOsmPrimitive primitive = history.getByVersion(current.getVersion());
    341341        if (primitive == null)
     
    374374     * @throws IllegalArgumentException if type is null
    375375     */
    376     public HistoryOsmPrimitive getPointInTime(PointInTimeType type)  {
     376    public HistoryOsmPrimitive getPointInTime(PointInTimeType type) {
    377377        CheckParameterUtil.ensureParameterNotNull(type, "type");
    378378        if (type.equals(PointInTimeType.CURRENT_POINT_IN_TIME))
  • trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java

    r10210 r10378  
    194194
    195195    protected static String getUserUrl(String username) {
    196         return Main.getBaseUserUrl() + '/' +  Utils.encodeUrl(username).replaceAll("\\+", "%20");
     196        return Main.getBaseUserUrl() + '/' + Utils.encodeUrl(username).replaceAll("\\+", "%20");
    197197    }
    198198
Note: See TracChangeset for help on using the changeset viewer.