📄 Update copyright lines with correct filenames
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / database / ImageProvider.kt
index 987c52f..0cde52a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageProvider.java - Copyright Â© 2013–2016 David Roden
+ * Sone - ImageProvider.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 package net.pterodactylus.sone.database
 
-import net.pterodactylus.sone.data.Image
-
-import com.google.common.base.Optional
+import net.pterodactylus.sone.data.*
 
 /**
  * Provides [Image]s.
  */
 interface ImageProvider {
 
-       fun getImage(imageId: String): Optional<Image>
+       fun getImage(imageId: String): Image?
 
 }