Skip to content

Commit

Permalink
Typos in InMemoryWebSessionStore
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Jul 13, 2018
1 parent 43fbd63 commit 24a30ba
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ public class InMemoryWebSessionStore implements WebSessionStore {
* {@link IllegalStateException}.
* <p>By default set to 10000.
* @param maxSessions the maximum number of sessions
* @since 5.1
* @since 5.0.8
*/
public void setMaxSessions(int maxSessions) {
this.maxSessions = maxSessions;
}

/**
* Return the maximum number of sessions that can be stored.
* @since 5.1
* @since 5.0.8
*/
public int getMaxSessions() {
return this.maxSessions;
Expand Down Expand Up @@ -102,9 +102,9 @@ public Clock getClock() {
* Return the map of sessions with an {@link Collections#unmodifiableMap
* unmodifiable} wrapper. This could be used for management purposes, to
* list active sessions, invalidate expired ones, etc.
* @since 5.1
* @since 5.0.8
*/
public Map<String, InMemoryWebSession> getSessions() {
public Map<String, WebSession> getSessions() {
return Collections.unmodifiableMap(this.sessions);
}

Expand Down Expand Up @@ -153,7 +153,7 @@ public Mono<WebSession> updateLastAccessTime(WebSession session) {
* kicked off lazily during calls to {@link #createWebSession() create} or
* {@link #retrieveSession retrieve}, no less than 60 seconds apart.
* This method can be called to force a check at a specific time.
* @since 5.1
* @since 5.0.8
*/
public void removeExpiredSessions() {
this.expiredSessionChecker.removeExpiredSessions(this.clock.instant());
Expand Down

0 comments on commit 24a30ba

Please sign in to comment.