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

yx9o 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 cd6af049dd1 Code format for ClasspathResourceDirectoryReader (#31028)
cd6af049dd1 is described below

commit cd6af049dd1f0b3ea60a9c5f30598e409cfb0238
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Apr 27 01:15:38 2024 +0800

    Code format for ClasspathResourceDirectoryReader (#31028)
    
    * Code format for DataSourceState
    
    * Code format for ClasspathResourceDirectoryReader
---
 .../infra/util/directory/ClasspathResourceDirectoryReader.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/directory/ClasspathResourceDirectoryReader.java
 
b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/directory/ClasspathResourceDirectoryReader.java
index 64aac2ee11d..3dd2429fd3e 100644
--- 
a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/directory/ClasspathResourceDirectoryReader.java
+++ 
b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/directory/ClasspathResourceDirectoryReader.java
@@ -46,9 +46,9 @@ import java.util.stream.Stream;
 /**
  * Classpath resource directory reader.
  */
-@Slf4j
 @NoArgsConstructor(access = AccessLevel.PRIVATE)
-public class ClasspathResourceDirectoryReader {
+@Slf4j
+public final class ClasspathResourceDirectoryReader {
     
     private static final Collection<String> JAR_URL_PROTOCOLS = new 
HashSet<>(Arrays.asList("jar", "war", "zip", "wsjar", "vfszip"));
     

Reply via email to