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
/
ajax
/
JsonPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
b/src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
index
4f7e08f
..
94d1602
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
@@
-85,9
+85,9
@@
public abstract class JsonPage implements Page {
*/
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) {