New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pippo Template Parent #285
Conversation
@@ -75,14 +75,14 @@ public void save(SessionData sessionData) { | |||
|
|||
@Override | |||
public SessionData get(String sessionId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A suggestion:
try {
return this.sessions.get(sessionId);
} catch (TimeoutException | InterruptedException | MemcachedException ex) {
log.error("An error occurred when get SessionData.", ex);
return null;
}
without to declare the sessionData
variable
I prefer to use few code lines to express an idea but without to sacrifice the readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do the change
👍 Thanks! |
We have a little problem after merged this PR
See https://travis-ci.org/decebals/pippo for more info. |
I have not changed the test, I'll check that could have happened |
I think the problem was that first run |
This is the parent of all templates modules
I replaced the tabs for 4 spaces in the poms and modify the return of Memcached SessionDataStore
Any advice/recommendation is welcome