From 2aff5b03773e619a2c317cb224f3f8b63cc3fe8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Pavi=C4=87?= Date: Mon, 16 May 2016 15:04:47 +0200 Subject: [PATCH] Fix EnableRedisHttpSession.redisFlushMode javadoc Fix EnableRedisHttpSession.redisFlushMode javadoc --- .../config/annotation/web/http/EnableRedisHttpSession.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-session/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java b/spring-session/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java index 3386ce9..df61e2f 100644 --- a/spring-session/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java +++ b/spring-session/src/main/java/org/springframework/session/data/redis/config/annotation/web/http/EnableRedisHttpSession.java @@ -79,10 +79,10 @@ public @interface EnableRedisHttpSession { /** *

- * Sets the flush mode for the Redis sessions. The default is IMMEDIATE which only + * Sets the flush mode for the Redis sessions. The default is ON_SAVE which only * updates the backing Redis when * {@link SessionRepository#save(org.springframework.session.Session)} is invoked. In - * a web environment this happens just before the HTTP resposne is committed. + * a web environment this happens just before the HTTP response is committed. *

*

* Setting the value to IMMEDIATE will ensure that the any updates to the Session are