Return a nullable Album instead of an Optional
[Sone.git] / src / main / java / net / pterodactylus / sone / database / AlbumProvider.kt
index 0ad0c67..c0b09e8 100644 (file)
@@ -26,6 +26,6 @@ import com.google.common.base.Optional
  */
 interface AlbumProvider {
 
-       fun getAlbum(albumId: String): Optional<Album>
+       fun getAlbum(albumId: String): Album?
 
 }