Fix compilation error caused by improper use of Assert.notNull(..)

Fixes gh-724
This commit is contained in:
John Blum
2017-01-30 16:07:57 -08:00
parent 3e24393e9a
commit 5c6565bd9c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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;
}