commit | cd6af049dd1f0b3ea60a9c5f30598e409cfb0238 | [log] [tgz] |
---|---|---|
author | Liang Zhang <zhangliang@apache.org> | Sat Apr 27 01:15:38 2024 +0800 |
committer | GitHub <noreply@github.com> | Sat Apr 27 01:15:38 2024 +0800 |
tree | d74735803dbf626cbe8fa84f0ee5923f6d72103b | |
parent | bb2f65d0f62661afd7571a5f098daa7874e17bc8 [diff] |
Code format for ClasspathResourceDirectoryReader (#31028) * Code format for DataSourceState * Code format for ClasspathResourceDirectoryReader
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 64aac2e..3dd2429 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 @@ /** * 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"));