Ignore:
Timestamp:
2015-06-20T14:36:00+02:00 (4 years ago)
Author:
Don-vip
Message:

fix many checkstyle violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java

    r8399 r8509  
    300300            throw new IllegalStateException(tr("History not initialized yet. Failed to set reference primitive."));
    301301        if (reference.getId() != history.getId())
    302             throw new IllegalArgumentException(tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(),  history.getId()));
     302            throw new IllegalArgumentException(
     303                    tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", reference.getId(),  history.getId()));
    303304        HistoryOsmPrimitive primitive = history.getByVersion(reference.getVersion());
    304305        if (primitive == null)
    305             throw new IllegalArgumentException(tr("Failed to set reference. Reference version {0} not available in history.", reference.getVersion()));
     306            throw new IllegalArgumentException(
     307                    tr("Failed to set reference. Reference version {0} not available in history.", reference.getVersion()));
    306308
    307309        this.reference = reference;
     
    330332            throw new IllegalStateException(tr("History not initialized yet. Failed to set current primitive."));
    331333        if (current.getId() != history.getId())
    332             throw new IllegalArgumentException(tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(),  history.getId()));
     334            throw new IllegalArgumentException(
     335                    tr("Failed to set reference. Reference ID {0} does not match history ID {1}.", current.getId(),  history.getId()));
    333336        HistoryOsmPrimitive primitive = history.getByVersion(current.getVersion());
    334337        if (primitive == null)
    335             throw new IllegalArgumentException(tr("Failed to set current primitive. Current version {0} not available in history.", current.getVersion()));
     338            throw new IllegalArgumentException(
     339                    tr("Failed to set current primitive. Current version {0} not available in history.", current.getVersion()));
    336340        this.current = current;
    337341        initTagTableModels();
Note: See TracChangeset for help on using the changeset viewer.