From 3e725ad179b064f164019fdd80d3d2e6838914bf 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:47:50 +0200 Subject: [PATCH] Replace Sone builder factory interface with Kotlin version --- .../net/pterodactylus/sone/database/SoneBuilderFactory.java | 12 ------------ .../net/pterodactylus/sone/database/SoneBuilderFactory.kt | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 src/main/java/net/pterodactylus/sone/database/SoneBuilderFactory.java create mode 100644 src/main/kotlin/net/pterodactylus/sone/database/SoneBuilderFactory.kt diff --git a/src/main/java/net/pterodactylus/sone/database/SoneBuilderFactory.java b/src/main/java/net/pterodactylus/sone/database/SoneBuilderFactory.java deleted file mode 100644 index c95251f..0000000 --- a/src/main/java/net/pterodactylus/sone/database/SoneBuilderFactory.java +++ /dev/null @@ -1,12 +0,0 @@ -package net.pterodactylus.sone.database; - -/** - * Factory for {@link SoneBuilder}s. - * - * @author David ‘Bombe’ Roden - */ -public interface SoneBuilderFactory { - - SoneBuilder newSoneBuilder(); - -} diff --git a/src/main/kotlin/net/pterodactylus/sone/database/SoneBuilderFactory.kt b/src/main/kotlin/net/pterodactylus/sone/database/SoneBuilderFactory.kt new file mode 100644 index 0000000..c1dee54 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/database/SoneBuilderFactory.kt @@ -0,0 +1,10 @@ +package net.pterodactylus.sone.database + +/** + * Factory for [SoneBuilder]s. + */ +interface SoneBuilderFactory { + + fun newSoneBuilder(): SoneBuilder + +} -- 2.7.4