Ignore:
Timestamp:
2015-05-07T01:27:41+02:00 (5 years ago)
Author:
Don-vip
Message:

fix squid:S1319 - Declarations should use Java collection interfaces rather than specific implementation classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java

    r8291 r8338  
    320320     */
    321321    public Set<OsmPrimitive> getMyConflictParties() {
    322         HashSet<OsmPrimitive> ret = new HashSet<>();
     322        Set<OsmPrimitive> ret = new HashSet<>();
    323323        for (Conflict<?> c: conflicts) {
    324324            ret.add(c.getMy());
     
    326326        return ret;
    327327    }
     328
    328329    /**
    329330     * Replies the set of  {@link OsmPrimitive} which participate in the role
     
    334335     */
    335336    public Set<OsmPrimitive> getTheirConflictParties() {
    336         HashSet<OsmPrimitive> ret = new HashSet<>();
     337        Set<OsmPrimitive> ret = new HashSet<>();
    337338        for (Conflict<?> c: conflicts) {
    338339            ret.add(c.getTheir());
Note: See TracChangeset for help on using the changeset viewer.