Polish RedisOperationsSessionRepository ConnectionFactory Constructor
Add test and remove unnecessary comment. Relates to gh-61
This commit is contained in:
@@ -298,7 +298,7 @@ public class RedisOperationsSessionRepository implements SessionRepository<Redis
|
||||
template.setKeySerializer(new StringRedisSerializer());
|
||||
template.setHashKeySerializer(new StringRedisSerializer());
|
||||
template.setConnectionFactory(connectionFactory);
|
||||
template.afterPropertiesSet(); //Force initialization of default values
|
||||
template.afterPropertiesSet();
|
||||
return template;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user