From 99ebb3db679eb35137af379f71aa1fdbe806edaa Mon Sep 17 00:00:00 2001 From: "Kenneth J. Shackleton" Date: Tue, 23 Apr 2024 15:53:21 +0100 Subject: [PATCH] Model SQLStatementInformation as non-data class to avoid needing to override equals et al. Signed-off-by: Kenneth J. Shackleton --- .../src/main/kotlin/com/bloomberg/selekt/SQLStatement.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selekt-java/src/main/kotlin/com/bloomberg/selekt/SQLStatement.kt b/selekt-java/src/main/kotlin/com/bloomberg/selekt/SQLStatement.kt index 7029acd82d..a31b81f7a6 100644 --- a/selekt-java/src/main/kotlin/com/bloomberg/selekt/SQLStatement.kt +++ b/selekt-java/src/main/kotlin/com/bloomberg/selekt/SQLStatement.kt @@ -233,8 +233,8 @@ internal class SQLStatement private constructor( } } -@Suppress("ArrayInDataClass") -internal data class SQLStatementInformation( +@Suppress("UseDataClass") +internal class SQLStatementInformation( val isReadOnly: Boolean, val parameterCount: Int, val columnNames: Array