Revert "SessionRepository.save returns S"
See gh-809
This commit is contained in:
@@ -76,9 +76,8 @@ public class MapSessionRepository implements SessionRepository<Session> {
|
||||
this.defaultMaxInactiveInterval = Integer.valueOf(defaultMaxInactiveInterval);
|
||||
}
|
||||
|
||||
public Session save(Session session) {
|
||||
public void save(Session session) {
|
||||
this.sessions.put(session.getId(), new MapSession(session));
|
||||
return session;
|
||||
}
|
||||
|
||||
public Session findById(String id) {
|
||||
|
||||
@@ -52,7 +52,7 @@ public interface SessionRepository<S extends Session> {
|
||||
*
|
||||
* @param session the {@link Session} to save
|
||||
*/
|
||||
S save(S session);
|
||||
void save(S session);
|
||||
|
||||
/**
|
||||
* Gets the {@link Session} by the {@link Session#getId()} or null if no
|
||||
|
||||
Reference in New Issue
Block a user