projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for DI constructability of BookmarksPage
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
database
/
PostProvider.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/database/PostProvider.kt
b/src/main/kotlin/net/pterodactylus/sone/database/PostProvider.kt
index
fba9daf
..
37cb2a1
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/database/PostProvider.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/database/PostProvider.kt
@@
-29,7
+29,7
@@
import com.google.inject.ImplementedBy
@ImplementedBy(MemoryDatabase::class)
interface PostProvider {
@ImplementedBy(MemoryDatabase::class)
interface PostProvider {
- fun getPost(postId: String):
Optional<Post>
+ fun getPost(postId: String):
Post?
fun getPosts(soneId: String): Collection<Post>
fun getDirectedPosts(recipientId: String): Collection<Post>
fun getPosts(soneId: String): Collection<Post>
fun getDirectedPosts(recipientId: String): Collection<Post>