projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for DI constructability of BookmarksPage
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
GetTranslationAjaxPage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTranslationAjaxPage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTranslationAjaxPage.kt
index
f98ad28
..
d260655
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTranslationAjaxPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTranslationAjaxPage.kt
@@
-9,8
+9,8
@@
import net.pterodactylus.sone.web.page.FreenetRequest
*/
class GetTranslationAjaxPage(webInterface: WebInterface) : JsonPage("getTranslation.ajax", webInterface) {
*/
class GetTranslationAjaxPage(webInterface: WebInterface) : JsonPage("getTranslation.ajax", webInterface) {
- override
fun needsFormPassword()
= false
- override
fun requiresLogin()
= false
+ override
val needsFormPassword
= false
+ override
val requiresLogin
= false
override fun createJsonObject(request: FreenetRequest) =
createSuccessJsonObject()
override fun createJsonObject(request: FreenetRequest) =
createSuccessJsonObject()