Replace Sone store interface with Kotlin version
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 15 Oct 2017 10:24:07 +0000 (12:24 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 15 Oct 2017 10:24:07 +0000 (12:24 +0200)
src/main/java/net/pterodactylus/sone/database/SoneStore.java [deleted file]
src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt [new file with mode: 0644]

diff --git a/src/main/java/net/pterodactylus/sone/database/SoneStore.java b/src/main/java/net/pterodactylus/sone/database/SoneStore.java
deleted file mode 100644 (file)
index 3684d48..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-package net.pterodactylus.sone.database;
-
-import net.pterodactylus.sone.data.Sone;
-
-/**
- * Interface for a store for {@link Sone}s.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
- */
-public interface SoneStore {
-
-       void storeSone(Sone sone);
-       void removeSone(Sone sone);
-
-}
diff --git a/src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt b/src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt
new file mode 100644 (file)
index 0000000..20cc3f4
--- /dev/null
@@ -0,0 +1,13 @@
+package net.pterodactylus.sone.database
+
+import net.pterodactylus.sone.data.Sone
+
+/**
+ * Interface for a store for [Sone]s.
+ */
+interface SoneStore {
+
+       fun storeSone(sone: Sone)
+       fun removeSone(sone: Sone)
+
+}