X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fdatabase%2FPostReplyProvider.kt;h=17fcfe97487c41391a7e76cc26c572102f54f977;hp=57e8df75bfb3a763efe2d370da3b0767c904b883;hb=d14188d87056cfd63490ef9f16f4aae0c1864864;hpb=d920774a69518c31b5e66d36b830bcf95a5ec237 diff --git a/src/main/kotlin/net/pterodactylus/sone/database/PostReplyProvider.kt b/src/main/kotlin/net/pterodactylus/sone/database/PostReplyProvider.kt index 57e8df7..17fcfe9 100644 --- a/src/main/kotlin/net/pterodactylus/sone/database/PostReplyProvider.kt +++ b/src/main/kotlin/net/pterodactylus/sone/database/PostReplyProvider.kt @@ -17,15 +17,14 @@ package net.pterodactylus.sone.database -import com.google.common.base.Optional -import net.pterodactylus.sone.data.PostReply +import net.pterodactylus.sone.data.* /** * Interface for objects that can provide [PostReply]s. */ interface PostReplyProvider { - fun getPostReply(id: String): Optional + fun getPostReply(id: String): PostReply? /** * Returns all replies for the given post, order ascending by time.