Skip to content

Commit f2d1bad

Browse files
committed
Fix misc typos
Closes gh-985
1 parent 6a6d60d commit f2d1bad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-session/src/main/java/org/springframework/session/FindByIndexNameSessionRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2016 the original author or authors.
2+
* Copyright 2014-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -52,7 +52,7 @@ public interface FindByIndexNameSessionRepository<S extends Session>
5252
* {@link FindByIndexNameSessionRepository#PRINCIPAL_NAME_INDEX_NAME} and the value of
5353
* the specified principal name.
5454
*
55-
* @param indexName the name if the index (i.e.
55+
* @param indexName the name of the index (i.e.
5656
* {@link FindByIndexNameSessionRepository#PRINCIPAL_NAME_INDEX_NAME})
5757
* @param indexValue the value of the index to search for.
5858
* @return a Map (never null) of the session id to the {@link Session} of all sessions

spring-session/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public class RedisOperationsSessionRepository implements
277277
static final String LAST_ACCESSED_ATTR = "lastAccessedTime";
278278

279279
/**
280-
* The prefix of the key for used for session attributes. The suffix is the name of
280+
* The prefix of the key used for session attributes. The suffix is the name of
281281
* the session attribute. For example, if the session contained an attribute named
282282
* attributeName, then there would be an entry in the hash named
283283
* sessionAttr:attributeName that mapped to its value.

0 commit comments

Comments
 (0)