Fix compilation error caused by improper use of Assert.notNull(..)
Fixes gh-724
This commit is contained in:
@@ -694,7 +694,7 @@ public class RedisOperationsSessionRepository implements
|
||||
* was retrieved. Cannot be null.
|
||||
*/
|
||||
RedisSession(MapSession cached) {
|
||||
Assert.notNull("MapSession cannot be null");
|
||||
Assert.notNull(cached, "MapSession cannot be null");
|
||||
this.cached = cached;
|
||||
this.originalPrincipalName = PRINCIPAL_NAME_RESOLVER.resolvePrincipal(this);
|
||||
}
|
||||
|
||||
@@ -658,7 +658,7 @@ public class JdbcOperationsSessionRepository implements
|
||||
}
|
||||
|
||||
JdbcSession(ExpiringSession delegate) {
|
||||
Assert.notNull("ExpiringSession cannot be null");
|
||||
Assert.notNull(delegate, "ExpiringSession cannot be null");
|
||||
this.delegate = delegate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user