Changeset 9775 in josm


Ignore:
Timestamp:
2016-02-10T01:14:03+01:00 (6 years ago)
Author:
Don-vip
Message:

add more unit tests

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ReferringRelationsBrowserModel.java

    r8308 r9775  
    1515    /** the relation */
    1616    private transient Relation relation;
    17     private transient List<Relation> referrers;
     17    private final transient List<Relation> referrers = new ArrayList<>();
    1818
    1919    /**
    2020     * Constructs a new {@code ReferringRelationsBrowserModel}.
     21     * @param relation relation
    2122     */
    22     public ReferringRelationsBrowserModel() {
    23         relation = null;
    24         referrers = new ArrayList<>();
    25     }
    26 
    2723    public ReferringRelationsBrowserModel(Relation relation) {
    28         this();
    2924        this.relation = relation;
    3025    }
Note: See TracChangeset for help on using the changeset viewer.