Ignore:
Timestamp:
2014-02-03T19:26:05+01:00 (6 years ago)
Author:
Don-vip
Message:

fix some Sonar issues introduced recently

File:
1 edited

Legend:

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

    r6743 r6806  
    185185        @Override
    186186        protected String createInfoUrl(Object infoObject) {
    187             HistoryOsmPrimitive primitive = (HistoryOsmPrimitive) infoObject;
    188             return primitive.getUser() == null ? null : getBaseBrowseUrl() + "/user/" + primitive.getUser().getName();
     187            HistoryOsmPrimitive hp = (HistoryOsmPrimitive) infoObject;
     188            return hp.getUser() == null ? null : getBaseBrowseUrl() + "/user/" + hp.getUser().getName();
    189189        }
    190190
Note: See TracChangeset for help on using the changeset viewer.