projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🎨 Declare return value for ticker explicitely
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
notification
/
NotificationHandlerModule.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt
b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt
index
a3c10a6
..
e94be5b
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandlerModule.kt
@@
-24,6
+24,7
@@
import net.pterodactylus.sone.data.*
import net.pterodactylus.sone.main.*
import net.pterodactylus.sone.notify.*
import net.pterodactylus.util.notify.*
import net.pterodactylus.sone.main.*
import net.pterodactylus.sone.notify.*
import net.pterodactylus.util.notify.*
+import java.util.concurrent.*
import java.util.concurrent.Executors.*
import java.util.function.*
import javax.inject.*
import java.util.concurrent.Executors.*
import java.util.function.*
import javax.inject.*
@@
-75,7
+76,7
@@
class NotificationHandlerModule : AbstractModule() {
ListNotification<Sone>("sones-locked-notification", "sones", loaders.loadTemplate("/templates/notify/lockedSonesNotification.html"), dismissable = true)
@Provides
ListNotification<Sone>("sones-locked-notification", "sones", loaders.loadTemplate("/templates/notify/lockedSonesNotification.html"), dismissable = true)
@Provides
- fun getScheduledExecutorService() =
+ fun getScheduledExecutorService()
: ScheduledExecutorService
=
newScheduledThreadPool(1)
@Provides
newScheduledThreadPool(1)
@Provides