You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/11/28 15:28:25 UTC
[commons-vfs] 01/02: Make private final variable static.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit 6944df67de35c2c5acfea6bb7cb2913620cc9dbd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Nov 28 10:18:45 2021 -0500
Make private final variable static.
---
.../main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
index 618baa6..67fcd92 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
@@ -43,7 +43,7 @@ import org.apache.commons.vfs2.provider.UriParser;
* A read-only file system for ZIP and JAR files.
*/
public class ZipFileSystem extends AbstractFileSystem {
- private final char[] ENC = {'!'};
+ private static final char[] ENC = {'!'};
private static final Log LOG = LogFactory.getLog(ZipFileSystem.class);