projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bc86422
)
Use traditional getter name.
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 5 Nov 2010 09:29:10 +0000
(10:29 +0100)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 5 Nov 2010 09:29:10 +0000
(10:29 +0100)
src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
patch
|
blob
|
history
src/main/java/net/pterodactylus/sone/web/WebInterface.java
patch
|
blob
|
history
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
patch
|
blob
|
history
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) {
diff --git
a/src/main/java/net/pterodactylus/sone/web/WebInterface.java
b/src/main/java/net/pterodactylus/sone/web/WebInterface.java
index
08d04a8
..
2ba96ec
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
+++ b/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
@@
-129,7
+129,7
@@
public class WebInterface {
*
* @return The node’s session manager
*/
*
* @return The node’s session manager
*/
- public SessionManager
s
essionManager() {
+ public SessionManager
getS
essionManager() {
try {
return sonePlugin.pluginRespirator().getSessionManager(new URI("/"));
} catch (URISyntaxException use1) {
try {
return sonePlugin.pluginRespirator().getSessionManager(new URI("/"));
} catch (URISyntaxException use1) {
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) {