From: David ‘Bombe’ Roden Date: Sun, 15 Oct 2017 10:47:50 +0000 (+0200) Subject: Replace Sone builder factory interface with Kotlin version X-Git-Tag: 0.9.8^2~24 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3e725ad179b064f164019fdd80d3d2e6838914bf;p=Sone.git Replace Sone builder factory interface with Kotlin version --- 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 + +}