You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/07/16 03:01:45 UTC

[shardingsphere] branch master updated: Fix ci build error (#19257)

This is an automated email from the ASF dual-hosted git repository.

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new f6582a015d4 Fix ci build error (#19257)
f6582a015d4 is described below

commit f6582a015d4338b493d9ae8739061ca343b33405
Author: Zhengqiang Duan <du...@apache.org>
AuthorDate: Sat Jul 16 11:01:39 2022 +0800

    Fix ci build error (#19257)
---
 .../shardingsphere/data/pipeline/core/util/ReflectionUtilTest.java    | 4 ++--
 .../proxy/backend/text/admin/mysql/executor/ShowVersionExecutor.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/test/java/org/apache/shardingsphere/data/pipeline/core/util/ReflectionUtilTest.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/test/java/org/apache/shardingsphere/data/pipeline/core/util/ReflectionUtilTest.java
index 7ecf3290cd7..32bc5932ed8 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/test/java/org/apache/shardingsphere/data/pipeline/core/util/ReflectionUtilTest.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/test/java/org/apache/shardingsphere/data/pipeline/core/util/ReflectionUtilTest.java
@@ -44,7 +44,7 @@ public final class ReflectionUtilTest {
     
     @Test
     public void assertGetStaticFieldValue() throws NoSuchFieldException, IllegalAccessException {
-        assertThat(ReflectionUtil.getStaticFieldValue(ReflectionFixture.class, "staticValue", String.class), is("static_value"));
+        assertThat(ReflectionUtil.getStaticFieldValue(ReflectionFixture.class, "STATIC_VALUE", String.class), is("static_value"));
     }
     
     @Test
@@ -59,7 +59,7 @@ public final class ReflectionUtilTest {
     private static final class ReflectionFixture {
         
         @SuppressWarnings("unused")
-        private final static String staticValue = "static_value";
+        private static final String STATIC_VALUE = "static_value";
         
         @Getter
         @Setter(AccessLevel.PRIVATE)
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/executor/ShowVersionExecutor.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/executor/ShowVersionExecutor.java
index 465817d7a74..963bb580a21 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/executor/ShowVersionExecutor.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/executor/ShowVersionExecutor.java
@@ -48,7 +48,7 @@ public final class ShowVersionExecutor implements DatabaseAdminQueryExecutor {
     private final SelectStatement sqlStatement;
     
     private MergedResult mergedResult;
-
+    
     @Override
     public void execute(final ConnectionSession connectionSession) {
         mergedResult = new LocalDataMergedResult(Collections.singleton(new LocalDataQueryResultRow(MySQLServerInfo.getServerVersion(connectionSession.getDatabaseName()))));