Changeset 2845 in josm for trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
- Timestamp:
- 2010-01-13T19:55:07+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
r2753 r2845 13 13 14 14 import org.openstreetmap.josm.data.conflict.ConflictCollection; 15 import org.openstreetmap.josm.tools.CheckParameterUtil; 15 16 16 17 /** … … 51 52 */ 52 53 public DataSetMerger(DataSet targetDataSet, DataSet sourceDataSet) throws IllegalArgumentException { 53 if (targetDataSet == null) 54 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null", "targetDataSet")); 54 CheckParameterUtil.ensureParameterNotNull(targetDataSet, "targetDataSet"); 55 55 this.targetDataSet = targetDataSet; 56 56 this.sourceDataSet = sourceDataSet; … … 278 278 logger.warning(tr("Target object with id {0} and version {1} is visible although " 279 279 + "source object with lower version {2} is not visible. " 280 + "Can ''t deal with this inconsistency. Keeping target object. ",280 + "Cannot deal with this inconsistency. Keeping target object. ", 281 281 Long.toString(target.getId()),Long.toString(target.getVersion()), Long.toString(source.getVersion()) 282 282 ));
Note:
See TracChangeset
for help on using the changeset viewer.