From: David ‘Bombe’ Roden Date: Sun, 15 Oct 2017 10:24:07 +0000 (+0200) Subject: Replace Sone store interface with Kotlin version X-Git-Tag: 0.9.8^2~26 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3ca28cc31f40484b1f6f0f56c72119c813090d8c;p=Sone.git Replace Sone store interface with Kotlin version --- 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 index 3684d48..0000000 --- a/src/main/java/net/pterodactylus/sone/database/SoneStore.java +++ /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 David ‘Bombe’ Roden - */ -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 index 0000000..20cc3f4 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt @@ -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) + +}