Check for null on the argument instead of the message
See gh-1307 Issue: SPR-15196
This commit is contained in:
committed by
Stephane Nicoll
parent
944d17f237
commit
f1c7e0f5b2
@@ -37,7 +37,7 @@ public abstract class AbstractCacheInvoker {
|
||||
}
|
||||
|
||||
protected AbstractCacheInvoker(CacheErrorHandler errorHandler) {
|
||||
Assert.notNull("ErrorHandler must not be null");
|
||||
Assert.notNull(errorHandler, "ErrorHandler must not be null");
|
||||
this.errorHandler = errorHandler;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user