Ignore:
Timestamp:
2009-07-15T17:22:56+02:00 (17 years ago)
Author:
Gubaer
Message:

Relation Editor: complete rework
Relation Editor: had to temporarily remove code for "link information" and "sorting"
IO Subsystem: clean up in exception handling
some cosmetics

File:
1 edited

Legend:

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

    r1783 r1790  
    4141     */
    4242    private Relation relation;
    43     private Relation clone;
    4443
    4544    /** the data layer the relation belongs to */
     
    103102        this.relation = relation;
    104103        this.layer = layer;
    105 
    106         if (relation == null) {
    107             // create a new relation
    108             this.clone = new Relation();
    109         } else {
    110             // edit an existing relation
    111             this.clone = new Relation(relation);
    112         }
    113104    }
    114105
     
    117108    }
    118109
    119     protected Relation getClone() {
    120         return clone;
    121     }
    122 
    123110    protected OsmDataLayer getLayer() {
    124111        return layer;
Note: See TracChangeset for help on using the changeset viewer.