From 6847c8632640ad07d1d49747c6099ac1bcffa97a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Wed, 1 May 2024 10:46:10 +0200 Subject: [PATCH] chore: cleanup unused code --- .../cloud/spanner/pgadapter/utils/ClientAutoDetector.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/com/google/cloud/spanner/pgadapter/utils/ClientAutoDetector.java b/src/main/java/com/google/cloud/spanner/pgadapter/utils/ClientAutoDetector.java index 458aea2cd..4c6ae560c 100644 --- a/src/main/java/com/google/cloud/spanner/pgadapter/utils/ClientAutoDetector.java +++ b/src/main/java/com/google/cloud/spanner/pgadapter/utils/ClientAutoDetector.java @@ -406,13 +406,6 @@ boolean isClient(List orderedParameterKeys, Map paramete return false; } - private final String prefix = - "SELECT version();%s" - + "%s" - + "SELECT ns.nspname, t.oid, t.typname, t.typtype, t.typnotnull, t.elemtypoid%s"; - private final String unixPrefix = String.format(prefix, "\n", "\n", "\n"); - private final String windowsPrefix = String.format(prefix, "\r\n", "\r\n", "\r\n"); - @Override boolean isClient(List skippedParseMessages, List statements) { // The npgsql client always starts with sending a query that contains multiple statements