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/24 04:12:26 UTC
[shardingsphere] branch master updated: Move ReflectionUtil to reflection package (#23072)
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 4b5424dd6c3 Move ReflectionUtil to reflection package (#23072)
4b5424dd6c3 is described below
commit 4b5424dd6c3cbdee414fa62d1752ab24de3be99d
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Dec 24 12:12:19 2022 +0800
Move ReflectionUtil to reflection package (#23072)
---
.../infra/util/{util => reflection}/ReflectionUtil.java | 2 +-
.../infra/util/{util => reflection}/ReflectionUtilTest.java | 4 ++--
.../infra/util/{util => reflection}/fixture/ReflectionFixture.java | 2 +-
.../xa/narayana/manager/NarayanaXATransactionManagerProvider.java | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/util/ReflectionUtil.java b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtil.java
similarity index 97%
rename from infra/util/src/main/java/org/apache/shardingsphere/infra/util/util/ReflectionUtil.java
rename to infra/util/src/main/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtil.java
index 0d260cdcd0a..f61c4eb32af 100644
--- a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/util/ReflectionUtil.java
+++ b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtil.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.infra.util.util;
+package org.apache.shardingsphere.infra.util.reflection;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
diff --git a/infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/ReflectionUtilTest.java b/infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtilTest.java
similarity index 91%
rename from infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/ReflectionUtilTest.java
rename to infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtilTest.java
index ce747069490..55e08522d30 100644
--- a/infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/ReflectionUtilTest.java
+++ b/infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/ReflectionUtilTest.java
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.infra.util.util;
+package org.apache.shardingsphere.infra.util.reflection;
-import org.apache.shardingsphere.infra.util.util.fixture.ReflectionFixture;
+import org.apache.shardingsphere.infra.util.reflection.fixture.ReflectionFixture;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
diff --git a/infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/fixture/ReflectionFixture.java b/infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/fixture/ReflectionFixture.java
similarity index 94%
rename from infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/fixture/ReflectionFixture.java
rename to infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/fixture/ReflectionFixture.java
index e71d8660c20..f283439c5d0 100644
--- a/infra/util/src/test/java/org/apache/shardingsphere/infra/util/util/fixture/ReflectionFixture.java
+++ b/infra/util/src/test/java/org/apache/shardingsphere/infra/util/reflection/fixture/ReflectionFixture.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.infra.util.util.fixture;
+package org.apache.shardingsphere.infra.util.reflection.fixture;
public final class ReflectionFixture {
diff --git a/kernel/transaction/type/xa/provider/narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java b/kernel/transaction/type/xa/provider/narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java
index 22a90706577..358cb2d88a1 100644
--- a/kernel/transaction/type/xa/provider/narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java
+++ b/kernel/transaction/type/xa/provider/narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/manager/NarayanaXATransactionManagerProvider.java
@@ -27,7 +27,7 @@ import com.arjuna.common.internal.util.propertyservice.BeanPopulator;
import com.arjuna.common.util.propertyservice.PropertiesFactory;
import lombok.Getter;
import lombok.SneakyThrows;
-import org.apache.shardingsphere.infra.util.util.ReflectionUtil;
+import org.apache.shardingsphere.infra.util.reflection.ReflectionUtil;
import org.apache.shardingsphere.transaction.xa.spi.SingleXAResource;
import org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider;