projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use traditional getter name.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
SoneTemplatePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
b/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
index
1eef0c4
..
1646935
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
@@
-110,9
+110,9
@@
public class SoneTemplatePage extends TemplatePage {
*/
protected Session getCurrentSession(ToadletContext toadletContenxt, boolean create) {
try {
*/
protected Session getCurrentSession(ToadletContext toadletContenxt, boolean create) {
try {
- Session session = webInterface.
s
essionManager().useSession(toadletContenxt);
+ Session session = webInterface.
getS
essionManager().useSession(toadletContenxt);
if (create && (session == null)) {
if (create && (session == null)) {
- session = webInterface.
s
essionManager().createSession(UUID.randomUUID().toString(), toadletContenxt);
+ session = webInterface.
getS
essionManager().createSession(UUID.randomUUID().toString(), toadletContenxt);
}
return session;
} catch (freenet.clients.http.RedirectException re1) {
}
return session;
} catch (freenet.clients.http.RedirectException re1) {