diff --git a/spring-session/src/main/java/org/springframework/session/FindByIndexNameSessionRepository.java b/spring-session/src/main/java/org/springframework/session/FindByIndexNameSessionRepository.java index 7a3bba83..c0832199 100644 --- a/spring-session/src/main/java/org/springframework/session/FindByIndexNameSessionRepository.java +++ b/spring-session/src/main/java/org/springframework/session/FindByIndexNameSessionRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2016 the original author or authors. + * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,7 +52,7 @@ public interface FindByIndexNameSessionRepository * {@link FindByIndexNameSessionRepository#PRINCIPAL_NAME_INDEX_NAME} and the value of * the specified principal name. * - * @param indexName the name if the index (i.e. + * @param indexName the name of the index (i.e. * {@link FindByIndexNameSessionRepository#PRINCIPAL_NAME_INDEX_NAME}) * @param indexValue the value of the index to search for. * @return a Map (never null) of the session id to the {@link Session} of all sessions diff --git a/spring-session/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java b/spring-session/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java index 0d620b9b..cdf79662 100644 --- a/spring-session/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java +++ b/spring-session/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java @@ -277,7 +277,7 @@ public class RedisOperationsSessionRepository implements static final String LAST_ACCESSED_ATTR = "lastAccessedTime"; /** - * The prefix of the key for used for session attributes. The suffix is the name of + * The prefix of the key used for session attributes. The suffix is the name of * the session attribute. For example, if the session contained an attribute named * attributeName, then there would be an entry in the hash named * sessionAttr:attributeName that mapped to its value.