Changeset 11095 in josm for trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
- Timestamp:
- 2016-10-07T23:43:52+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r10972 r11095 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.geom.Area;7 6 import java.util.ArrayList; 8 7 import java.util.Arrays; … … 24 23 25 24 import org.openstreetmap.josm.Main; 26 import org.openstreetmap.josm.data.Bounds;27 25 import org.openstreetmap.josm.data.Data; 28 26 import org.openstreetmap.josm.data.DataSource; … … 923 921 @Override 924 922 public Collection<DataSource> getDataSources() { 925 return dataSources; 926 } 927 928 @Override 929 public Area getDataSourceArea() { 930 return DataSource.getDataSourceArea(dataSources); 923 return Collections.unmodifiableCollection(dataSources); 931 924 } 932 925 … … 1328 1321 } 1329 1322 1330 @Override1331 public List<Bounds> getDataSourceBounds() {1332 return DataSource.getDataSourceBounds(dataSources);1333 }1334 1335 1323 /** 1336 1324 * Moves all primitives and datasources from DataSet "from" to this DataSet.
Note:
See TracChangeset
for help on using the changeset viewer.
