Ignore:
Timestamp:
2016-09-03T03:27:18+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ListenerList.java

    r10894 r10936  
    106106    protected void failAdd(T listener) {
    107107        throw new IllegalArgumentException(
    108                 MessageFormat.format("Listener {0} (instance of {1}) was already registered.", listener.toString(),
     108                MessageFormat.format("Listener {0} (instance of {1}) was already registered.", listener,
    109109                        listener.getClass().getName()));
    110110    }
     
    128128        throw new IllegalArgumentException(
    129129                MessageFormat.format("Listener {0} (instance of {1}) was not registered before or already removed.",
    130                         listener.toString(), listener.getClass().getName()));
     130                        listener, listener.getClass().getName()));
    131131    }
    132132
Note: See TracChangeset for help on using the changeset viewer.