You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2022/12/21 07:31:42 UTC
[shardingsphere] branch master updated: Rename ReflectionFixture (#23009)
This is an automated email from the ASF dual-hosted git repository.
sunnianjun 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 764c13f2f09 Rename ReflectionFixture (#23009)
764c13f2f09 is described below
commit 764c13f2f098d3f13911e31aa93a61f12d49a332
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Dec 21 15:31:36 2022 +0800
Rename ReflectionFixture (#23009)
---
.../apache/shardingsphere/agent/core/util/ReflectionUtilTest.java | 6 +++---
.../util/fixture/{ReflectiveFixture.java => ReflectionFixture.java} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/ReflectionUtilTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/ReflectionUtilTest.java
index aa22aa2ee14..f6b5c2c04a2 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/ReflectionUtilTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/ReflectionUtilTest.java
@@ -17,7 +17,7 @@
package org.apache.shardingsphere.agent.core.util;
-import org.apache.shardingsphere.agent.core.util.fixture.ReflectiveFixture;
+import org.apache.shardingsphere.agent.core.util.fixture.ReflectionFixture;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
@@ -27,7 +27,7 @@ public final class ReflectionUtilTest {
@Test
public void assertGetFieldValue() {
- ReflectiveFixture reflectiveFixture = new ReflectiveFixture("foo");
- assertThat(ReflectionUtil.getFieldValue(reflectiveFixture, "value"), is(reflectiveFixture.getValue()));
+ ReflectionFixture reflectionFixture = new ReflectionFixture("foo");
+ assertThat(ReflectionUtil.getFieldValue(reflectionFixture, "value"), is(reflectionFixture.getValue()));
}
}
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectiveFixture.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectionFixture.java
similarity index 96%
rename from agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectiveFixture.java
rename to agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectionFixture.java
index b155c1292d9..5ca167db6b2 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectiveFixture.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/util/fixture/ReflectionFixture.java
@@ -22,7 +22,7 @@ import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Getter
-public final class ReflectiveFixture {
+public final class ReflectionFixture {
private final String value;
}