Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
r19135 r19136 79 79 ensureParameterNotNull(strategy, "strategy"); 80 80 ensureParameterNotNull(changeset, "changeset"); 81 ensureParameterNotNull(toUpload, "toUpload"); 81 82 this.toUpload = toUpload; 82 83 this.numObjectsToUpload = toUpload.getSize(); -
trunk/test/unit/org/openstreetmap/josm/gui/io/UploadPrimitivesTaskTest.java
r18853 r19136 5 5 6 6 import org.junit.jupiter.api.Test; 7 import org.openstreetmap.josm.data.APIDataSet; 7 8 import org.openstreetmap.josm.data.osm.Changeset; 8 9 import org.openstreetmap.josm.data.osm.DataSet; … … 22 23 new UploadStrategySpecification(), 23 24 new OsmDataLayer(new DataSet(), null, null), 24 n ull,25 new APIDataSet(), 25 26 new Changeset())); 26 27 }
Note:
See TracChangeset
for help on using the changeset viewer.