EventListenerSupport: Fix string format of Validate#isTrue call in constructor.
This commit is contained in:
parent
1e70575586
commit
325d9a97d6
|
@ -142,7 +142,7 @@ public class EventListenerSupport<L> implements Serializable {
|
|||
this();
|
||||
Validate.notNull(listenerInterface, "Listener interface cannot be null.");
|
||||
Validate.notNull(classLoader, "ClassLoader cannot be null.");
|
||||
Validate.isTrue(listenerInterface.isInterface(), "Class {0} is not an interface",
|
||||
Validate.isTrue(listenerInterface.isInterface(), "Class %s is not an interface",
|
||||
listenerInterface.getName());
|
||||
initializeTransientFields(listenerInterface, classLoader);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue