From 3ca28cc31f40484b1f6f0f56c72119c813090d8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 15 Oct 2017 12:24:07 +0200 Subject: [PATCH] Replace Sone store interface with Kotlin version --- .../java/net/pterodactylus/sone/database/SoneStore.java | 15 --------------- .../kotlin/net/pterodactylus/sone/database/SoneStore.kt | 13 +++++++++++++ 2 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 src/main/java/net/pterodactylus/sone/database/SoneStore.java create mode 100644 src/main/kotlin/net/pterodactylus/sone/database/SoneStore.kt 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) + +} -- 2.7.4