Ignore:
Timestamp:
2013-10-07T22:45:15+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Loose coupling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java

    r6296 r6317  
    3434    private Date timestamp;
    3535    private long version;
    36     private HashMap<String, String> tags;
     36    private Map<String, String> tags;
    3737
    3838    protected void ensurePositiveLong(long value, String name) {
    39         if (value <= 0)
     39        if (value <= 0) {
    4040            throw new IllegalArgumentException(MessageFormat.format("Parameter ''{0}'' > 0 expected. Got ''{1}''.", name, value));
     41        }
    4142    }
    4243
Note: See TracChangeset for help on using the changeset viewer.