Remove warnings

This commit is contained in:
Rob Winch
2015-11-17 11:03:36 -06:00
parent ee09a9e863
commit 41298c490e
2 changed files with 2 additions and 1 deletions

View File

@@ -434,6 +434,7 @@ public class RedisOperationsSessionRepository implements FindByPrincipalNameSess
return redisSession;
}
@SuppressWarnings("unchecked")
public void onMessage(Message message, byte[] pattern) {
byte[] messageChannel = message.getChannel();
byte[] messageBody = message.getBody();
@@ -663,6 +664,7 @@ public class RedisOperationsSessionRepository implements FindByPrincipalNameSess
return cached.getMaxInactiveIntervalInSeconds();
}
@SuppressWarnings("unchecked")
public Object getAttribute(String attributeName) {
return cached.getAttribute(attributeName);
}