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

fix messages for data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java

    r2655 r2845  
    1313
    1414import org.openstreetmap.josm.data.osm.OsmPrimitive;
     15import org.openstreetmap.josm.tools.CheckParameterUtil;
    1516
    1617/**
     
    8788     *
    8889     */
    89     public void add(Conflict<?> conflict) throws IllegalStateException, IllegalArgumentException {
    90         if (conflict == null)
    91             throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "conflict"));
     90    public void add(Conflict<?> conflict) throws IllegalStateException {
     91        CheckParameterUtil.ensureParameterNotNull(conflict, "conflict");
    9292        addConflict(conflict);
    9393        fireConflictAdded();
Note: See TracChangeset for help on using the changeset viewer.