Ignore:
Timestamp:
16.02.2010 09:30:28 (2 years ago)
Author:
jttt
Message:

Fix #4406 tags disapear: merging node with ID:0 and tag to existing node without tags

File:
1 edited

Legend:

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

    r2990 r2996  
    117117    } 
    118118 
    119     private HashSet<Tag> tags; 
     119    private final HashSet<Tag> tags = new HashSet<Tag>(); 
    120120 
    121121    /** 
     
    123123     */ 
    124124    public TagCollection() { 
    125         tags = new HashSet<Tag>(); 
    126125    } 
    127126 
     
    133132     */ 
    134133    public TagCollection(TagCollection other) { 
    135         this(); 
    136134        if (other != null) { 
    137135            tags.addAll(other.tags); 
Note: See TracChangeset for help on using the changeset viewer.