projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppress warnings on potentiall-static methods.
[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
8f074fb
..
22eeec8
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
@@
-139,6
+139,7
@@
public abstract class JsonPage implements FreenetPage {
* @return {@code true} if the form password (given as “formPassword”) is
* required, {@code false} otherwise
*/
* @return {@code true} if the form password (given as “formPassword”) is
* required, {@code false} otherwise
*/
+ @SuppressWarnings("static-method")
protected boolean needsFormPassword() {
return true;
}
protected boolean needsFormPassword() {
return true;
}
@@
-149,6
+150,7
@@
public abstract class JsonPage implements FreenetPage {
* @return {@code true} if the user needs to be logged in to use this page,
* {@code false} otherwise
*/
* @return {@code true} if the user needs to be logged in to use this page,
* {@code false} otherwise
*/
+ @SuppressWarnings("static-method")
protected boolean requiresLogin() {
return true;
}
protected boolean requiresLogin() {
return true;
}