Changeset 2181 in josm for trunk/src/org/openstreetmap/josm/gui/history/AdjustmentSynchronizer.java
- Timestamp:
- 2009-09-22T15:34:19+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/AdjustmentSynchronizer.java
r2165 r2181 76 76 protected void setParticipatingInSynchronizedScrolling(Adjustable adjustable, boolean isParticipating) { 77 77 if (adjustable == null) 78 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "adjustable"));78 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable")); 79 79 80 80 if (! synchronizedAdjustables.contains(adjustable)) 81 throw new IllegalStateException(tr(" adjustable {0} not registered yet. Can't set participation in synchronized adjustment",adjustable));81 throw new IllegalStateException(tr("Adjustable {0} not registered yet. Can't set participation in synchronized adjustment.", adjustable)); 82 82 83 83 enabledMap.put(adjustable, isParticipating); … … 94 94 protected boolean isParticipatingInSynchronizedScrolling(Adjustable adjustable) throws IllegalStateException { 95 95 if (! synchronizedAdjustables.contains(adjustable)) 96 throw new IllegalStateException(tr(" adjustable {0} not registered yet",adjustable));96 throw new IllegalStateException(tr("Adjustable {0} not registered yet.", adjustable)); 97 97 98 98 return enabledMap.get(adjustable); … … 117 117 protected void adapt(final JCheckBox view, final Adjustable adjustable) throws IllegalArgumentException, IllegalStateException { 118 118 if (adjustable == null) 119 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "adjustable"));119 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "adjustable")); 120 120 if (view == null) 121 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "view"));121 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "view")); 122 122 123 123 if (! synchronizedAdjustables.contains(adjustable)) {
Note:
See TracChangeset
for help on using the changeset viewer.
