Optimize some imports
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / PostReplyProvider.kt
index 57e8df7..17fcfe9 100644 (file)
 
 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<PostReply>
+       fun getPostReply(id: String): PostReply?
 
        /**
         * Returns all replies for the given post, order ascending by time.