Ignore:
Timestamp:
2007-07-18T23:12:56+02:00 (17 years ago)
Author:
imi
Message:
  • added support for multiple data layers
File:
1 edited

Legend:

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

    r286 r290  
    33import org.openstreetmap.josm.data.Bounds;
    44
    5 public class DataSource {
    6         public Bounds bounds;
    7         public String origin;
     5public class DataSource implements Cloneable {
     6        public final Bounds bounds;
     7        public final String origin;
     8       
     9        public DataSource(Bounds bounds, String origin) {
     10            this.bounds = bounds;
     11            this.origin = origin;
     12    }
     13
     14        @Override protected Object clone() throws CloneNotSupportedException {
     15            return new DataSource(bounds, origin);
     16    }
    817}
Note: See TracChangeset for help on using the changeset viewer.