From 71742c0c4f6543dcb0082a66fc5b4be6870ec584 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Sat, 17 Jul 2021 19:06:01 +0200 Subject: [PATCH] remove default parameter for sendQuery --- src/main/kotlin/fr/postgresjson/connexion/EmbedExecutable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/fr/postgresjson/connexion/EmbedExecutable.kt b/src/main/kotlin/fr/postgresjson/connexion/EmbedExecutable.kt index 79ce38b..c34cdd4 100644 --- a/src/main/kotlin/fr/postgresjson/connexion/EmbedExecutable.kt +++ b/src/main/kotlin/fr/postgresjson/connexion/EmbedExecutable.kt @@ -112,7 +112,7 @@ sealed interface EmbedExecutable { fun perform(values: Map) { exec(values) } fun perform(vararg values: Pair) = perform(values.toMap()) - fun sendQuery(values: List = emptyList()): Int + fun sendQuery(values: List): Int fun sendQuery(values: Map): Int fun sendQuery(vararg values: Pair): Int = sendQuery(values.toMap()) }