From 4493f851843ecd281a9a9553c1f1c98ae51ecbdb Mon Sep 17 00:00:00 2001 From: Thiago Nunes Date: Wed, 19 Aug 2020 11:40:09 +1000 Subject: [PATCH] fix: formatting of ClientSideStatements.json This file is using a mix of tabs and spaces. For now I have formatted as the other lines, so that the diff is clear. In a further PR I will reformat the whole file to use only spaces. --- .../connection/ClientSideStatements.json | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json b/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json index e605cc278b..4c38fc08a3 100644 --- a/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json +++ b/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json @@ -77,12 +77,12 @@ "exampleStatements": ["show variable optimizer_version"] }, { - "name": "SHOW VARIABLE OPTIMIZER_STATISTICS_PACKAGE", - "executorName": "ClientSideStatementNoParamExecutor", - "resultType": "RESULT_SET", - "regex": "(?is)\\A\\s*show\\s+variable\\s+optimizer_statistics_package\\s*\\z", - "method": "statementShowOptimizerStatisticsPackage", - "exampleStatements": ["show variable optimizer_statistics_package"] + "name": "SHOW VARIABLE OPTIMIZER_STATISTICS_PACKAGE", + "executorName": "ClientSideStatementNoParamExecutor", + "resultType": "RESULT_SET", + "regex": "(?is)\\A\\s*show\\s+variable\\s+optimizer_statistics_package\\s*\\z", + "method": "statementShowOptimizerStatisticsPackage", + "exampleStatements": ["show variable optimizer_statistics_package"] }, { "name": "BEGIN TRANSACTION", @@ -273,18 +273,18 @@ } }, { - "name": "SET OPTIMIZER_STATISTICS_PACKAGE = ''|''", - "executorName": "ClientSideStatementSetExecutor", - "resultType": "NO_RESULT", - "regex": "(?is)\\A\\s*set\\s+optimizer_statistics_package\\s*(?:=)\\s*(.*)\\z", - "method": "statementSetOptimizerStatisticsPackage", - "exampleStatements": ["set optimizer_statistics_package='auto_20191128_14_47_22UTC'", "set optimizer_statistics_package=''"], - "setStatement": { - "propertyName": "OPTIMIZER_STATISTICS_PACKAGE", - "separator": "=", - "allowedValues": "'((\\S+)|())'", - "converterName": "ClientSideStatementValueConverters$StringValueConverter" - } + "name": "SET OPTIMIZER_STATISTICS_PACKAGE = ''|''", + "executorName": "ClientSideStatementSetExecutor", + "resultType": "NO_RESULT", + "regex": "(?is)\\A\\s*set\\s+optimizer_statistics_package\\s*(?:=)\\s*(.*)\\z", + "method": "statementSetOptimizerStatisticsPackage", + "exampleStatements": ["set optimizer_statistics_package='auto_20191128_14_47_22UTC'", "set optimizer_statistics_package=''"], + "setStatement": { + "propertyName": "OPTIMIZER_STATISTICS_PACKAGE", + "separator": "=", + "allowedValues": "'((\\S+)|())'", + "converterName": "ClientSideStatementValueConverters$StringValueConverter" + } } ] }