Changeset 2181 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergeModel.java
- Timestamp:
- 2009-09-22T15:34:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergeModel.java
r2165 r2181 31 31 public void populate(Way my, Way their) { 32 32 if (my == null) 33 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "my"));33 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "my")); 34 34 if (their == null) 35 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "their"));35 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "their")); 36 36 getMergedEntries().clear(); 37 37 getMyEntries().clear(); … … 65 65 public WayNodesConflictResolverCommand buildResolveCommand(Way my, Way their) { 66 66 if (my == null) 67 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "my"));67 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "my")); 68 68 if (their == null) 69 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "their"));69 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "their")); 70 70 if (! isFrozen()) 71 throw new IllegalArgumentException(tr("Merged nodes not frozen yet. Can't build resolution command "));71 throw new IllegalArgumentException(tr("Merged nodes not frozen yet. Can't build resolution command.")); 72 72 return new WayNodesConflictResolverCommand(my, their, getMergedEntries()); 73 73 }
Note:
See TracChangeset
for help on using the changeset viewer.