projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return a nullable PostReply instead of an Optional
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
GetTimesAjaxPage.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.kt
b/src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.kt
index
87eafc3
..
fb2592e
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.kt
@@
-22,8
+22,8
@@
class GetTimesAjaxPage(webInterface: WebInterface,
this.timeZone = timeZone
}
this.timeZone = timeZone
}
- override
fun needsFormPassword()
= false
- override
fun requiresLogin()
= false
+ override
val needsFormPassword
= false
+ override
val requiresLogin
= false
override fun createJsonObject(request: FreenetRequest) =
createSuccessJsonObject().apply {
override fun createJsonObject(request: FreenetRequest) =
createSuccessJsonObject().apply {
@@
-43,7
+43,7
@@
class GetTimesAjaxPage(webInterface: WebInterface,
"tooltip" to synchronized(dateTimeFormatter) {
dateTimeFormatter.format(time)
})
"tooltip" to synchronized(dateTimeFormatter) {
dateTimeFormatter.format(time)
})
- }.forEach { this@jsonObject.
pu
t(it.first, it.second) }
+ }.forEach { this@jsonObject.
se
t(it.first, it.second) }
}
}
}
}