Skip to content

Commit

Permalink
Fix ci build error (apache#19257)
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu authored Jul 16, 2022
1 parent 6e99c3a commit f6582a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void assertGetFieldValue() throws NoSuchFieldException, IllegalAccessExce

@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
Expand All @@ -59,7 +59,7 @@ public void assertInvokeMethod() throws Exception {
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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()))));
Expand Down

0 comments on commit f6582a0

Please sign in to comment.