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 2024/02/06 11:29:11 UTC
(shardingsphere) branch master updated: Fix sonar issue (#30024)
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 e190daf96a7 Fix sonar issue (#30024)
e190daf96a7 is described below
commit e190daf96a76bb2926877257b19cabc91ef9f01a
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Feb 6 19:29:04 2024 +0800
Fix sonar issue (#30024)
* Fix sonar issue
* Fix sonar issue
---
.../spi/absolutepath/AbsolutePathWithEnvironmentURLProviderTest.java | 2 +-
.../driver/spi/classpath/ClasspathWithEnvironmentURLProviderTest.java | 2 +-
.../driver/spi/classpath/ClasspathWithSystemPropsURLProviderTest.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/absolutepath/AbsolutePathWithEnvironmentURLProviderTest.java b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/absolutepath/AbsolutePathWithEnvironmentURLProviderTest.java
index 5d078e3b46a..ca20181bb03 100644
--- a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/absolutepath/AbsolutePathWithEnvironmentURLProviderTest.java
+++ b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/absolutepath/AbsolutePathWithEnvironmentURLProviderTest.java
@@ -27,7 +27,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
-public class AbsolutePathWithEnvironmentURLProviderTest {
+class AbsolutePathWithEnvironmentURLProviderTest {
@Test
void assertReplaceEnvironmentVariables() {
diff --git a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithEnvironmentURLProviderTest.java b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithEnvironmentURLProviderTest.java
index ead7526a2b4..019c4500823 100644
--- a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithEnvironmentURLProviderTest.java
+++ b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithEnvironmentURLProviderTest.java
@@ -25,7 +25,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
-public class ClasspathWithEnvironmentURLProviderTest {
+class ClasspathWithEnvironmentURLProviderTest {
@Test
void assertReplaceEnvironmentVariables() {
diff --git a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithSystemPropsURLProviderTest.java b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithSystemPropsURLProviderTest.java
index 4c5a26a265a..a9fc9f71724 100644
--- a/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithSystemPropsURLProviderTest.java
+++ b/jdbc/core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/driver/spi/classpath/ClasspathWithSystemPropsURLProviderTest.java
@@ -27,7 +27,7 @@ import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.nullValue;
-public class ClasspathWithSystemPropsURLProviderTest {
+class ClasspathWithSystemPropsURLProviderTest {
private static final String FIXTURE_JDBC_URL_KEY = "fixture.config.driver.jdbc-url";