Skip to content

Commit 9febba0

Browse files
committed
remove getConnectionID method
1 parent eadc09e commit 9febba0

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

  • java-bigquery/google-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc

java-bigquery/google-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcMdc.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,6 @@ public static void registerInstance(BigQueryConnection connection, String id) {
5353
}
5454
}
5555

56-
/** Retrieves the connection ID mapped to a specific BigQueryConnection instance. */
57-
public static String getConnectionId(BigQueryConnection connection) {
58-
if (connection != null) {
59-
InheritableThreadLocal<String> local = instanceLocals.get(connection);
60-
if (local != null) {
61-
String val = local.get();
62-
if (val != null) {
63-
return val;
64-
}
65-
}
66-
return instanceIds.get(connection);
67-
}
68-
return null;
69-
}
70-
7156
/**
7257
* Returns the connection ID carried by any registered active connection on the current thread.
7358
*/

0 commit comments

Comments
 (0)