Return a nullable PostReply instead of an Optional
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / PostReplyProvider.kt
index 57e8df7..7e09017 100644 (file)
@@ -25,7 +25,7 @@ import net.pterodactylus.sone.data.PostReply
  */
 interface PostReplyProvider {
 
  */
 interface PostReplyProvider {
 
-       fun getPostReply(id: String): Optional<PostReply>
+       fun getPostReply(id: String): PostReply?
 
        /**
         * Returns all replies for the given post, order ascending by time.
 
        /**
         * Returns all replies for the given post, order ascending by time.