From 20a0ab6d5268498cf82794e8a51337116fa6baa5 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:45:26 +0200 Subject: [PATCH] Replace Sone database interface with Kotlin version --- .../java/net/pterodactylus/sone/database/SoneDatabase.java | 11 ----------- .../kotlin/net/pterodactylus/sone/database/SoneDatabase.kt | 7 +++++++ 2 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 src/main/java/net/pterodactylus/sone/database/SoneDatabase.java create mode 100644 src/main/kotlin/net/pterodactylus/sone/database/SoneDatabase.kt diff --git a/src/main/java/net/pterodactylus/sone/database/SoneDatabase.java b/src/main/java/net/pterodactylus/sone/database/SoneDatabase.java deleted file mode 100644 index f5c5cda..0000000 --- a/src/main/java/net/pterodactylus/sone/database/SoneDatabase.java +++ /dev/null @@ -1,11 +0,0 @@ -package net.pterodactylus.sone.database; - -/** - * Combines a {@link SoneProvider} and a {@link SoneStore} into a Sone - * database. - * - * @author David ‘Bombe’ Roden - */ -public interface SoneDatabase extends SoneProvider, SoneBuilderFactory, SoneStore { - -} diff --git a/src/main/kotlin/net/pterodactylus/sone/database/SoneDatabase.kt b/src/main/kotlin/net/pterodactylus/sone/database/SoneDatabase.kt new file mode 100644 index 0000000..3533f69 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/database/SoneDatabase.kt @@ -0,0 +1,7 @@ +package net.pterodactylus.sone.database + +/** + * Combines a [SoneProvider] and a [SoneStore] into a Sone + * database. + */ +interface SoneDatabase : SoneProvider, SoneBuilderFactory, SoneStore -- 2.7.4