Ignore:
Timestamp:
2010-01-13T19:55:07+01:00 (14 years ago)
Author:
mjulius
Message:

fix messages for data

File:
1 edited

Legend:

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

    r2753 r2845  
    1313
    1414import org.openstreetmap.josm.data.conflict.ConflictCollection;
     15import org.openstreetmap.josm.tools.CheckParameterUtil;
    1516
    1617/**
     
    5152     */
    5253    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");
    5555        this.targetDataSet = targetDataSet;
    5656        this.sourceDataSet = sourceDataSet;
     
    278278            logger.warning(tr("Target object with id {0} and version {1} is visible although "
    279279                    + "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. ",
    281281                    Long.toString(target.getId()),Long.toString(target.getVersion()), Long.toString(source.getVersion())
    282282            ));
Note: See TracChangeset for help on using the changeset viewer.