projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unit test for trust ajax page
[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
2f84d27
..
8ddbacd
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ajax/JsonPage.java
@@
-100,7
+100,8
@@
public abstract class JsonPage implements FreenetPage {
* The request to handle
* @return The created JSON object
*/
* The request to handle
* @return The created JSON object
*/
- protected abstract JsonReturnObject createJsonObject(FreenetRequest request);
+ @Nonnull
+ protected abstract JsonReturnObject createJsonObject(@Nonnull FreenetRequest request);
/**
* Returns whether this command needs the form password for authentication
/**
* Returns whether this command needs the form password for authentication