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 2023/01/29 00:00:07 UTC

[commons-vfs] branch master updated: "ZIP" is in uppercase

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


The following commit(s) were added to refs/heads/master by this push:
     new 60f19baa "ZIP" is in uppercase
60f19baa is described below

commit 60f19baab28c7a35af862a8baba9b5eb525c753b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 28 19:00:01 2023 -0500

    "ZIP" is in uppercase
---
 .../src/main/java/org/apache/commons/vfs2/FileSystemManager.java    | 4 ++--
 .../apache/commons/vfs2/provider/AbstractLayeredFileProvider.java   | 2 +-
 .../apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java | 2 +-
 .../org/apache/commons/vfs2/provider/zip/NestedZipTestCase.java     | 4 ++--
 .../org/apache/commons/vfs2/provider/zip/ZipFileObjectTest.java     | 6 +++---
 .../org/apache/commons/vfs2/provider/zip/ZipProviderTestCase.java   | 2 +-
 .../vfs2/provider/zip/ZipProviderWithCharsetNullTestCase.java       | 2 +-
 .../commons/vfs2/provider/zip/ZipProviderWithCharsetTestCase.java   | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemManager.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemManager.java
index 13de93a6..aa985a30 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemManager.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSystemManager.java
@@ -105,7 +105,7 @@ public interface FileSystemManager extends AutoCloseable {
 
     /**
      * Creates a layered file system. A layered file system is a file system that is created from the contents of a
-     * file, such as a zip or tar file.
+     * file, such as a ZIP or tar file.
      *
      * @param file The file to use to create the file system.
      * @return The root file of the new file system.
@@ -115,7 +115,7 @@ public interface FileSystemManager extends AutoCloseable {
 
     /**
      * Creates a layered file system. A layered file system is a file system that is created from the contents of a
-     * file, such as a zip or tar file.
+     * file, such as a ZIP or tar file.
      *
      * @param provider The name of the file system provider to use. This name is the same as the scheme used in URI to
      *            identify the provider.
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java
index 5e09441c..43beb7ef 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractLayeredFileProvider.java
@@ -23,7 +23,7 @@ import org.apache.commons.vfs2.FileSystemException;
 import org.apache.commons.vfs2.FileSystemOptions;
 
 /**
- * A {@link FileProvider} that is layered on top of another, such as the contents of a zip or tar file.
+ * A {@link FileProvider} that is layered on top of another, such as the contents of a ZIP or tar file.
  */
 public abstract class AbstractLayeredFileProvider extends AbstractFileProvider {
 
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java
index 34a3fbe4..8dee5b0b 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java
@@ -128,7 +128,7 @@ public class HdfsFileProviderTestCase extends AbstractProviderTestConfig {
     private static MiniDFSCluster cluster;
 
     /**
-     * Creates the test suite for the zip file system.
+     * Creates the test suite for the ZIP file system.
      */
     public static Test suite() throws Exception {
         return new HdfsProviderTestSuite(new HdfsFileProviderTestCase(), false);
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/NestedZipTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/NestedZipTestCase.java
index 27ec2fb9..46f1d89f 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/NestedZipTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/NestedZipTestCase.java
@@ -27,12 +27,12 @@ import org.apache.commons.vfs2.impl.DefaultFileSystemManager;
 import junit.framework.Test;
 
 /**
- * Tests for the Zip file system, using a zip file nested inside another zip file.
+ * Tests for the Zip file system, using a ZIP file nested inside another ZIP file.
  */
 public class NestedZipTestCase extends AbstractProviderTestConfig {
 
     /**
-     * Creates the test suite for nested zip files.
+     * Creates the test suite for nested ZIP files.
      */
     public static Test suite() throws Exception {
         return new ProviderTestSuite(new NestedZipTestCase(), true);
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipFileObjectTest.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipFileObjectTest.java
index dd04ac03..435704f3 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipFileObjectTest.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipFileObjectTest.java
@@ -116,7 +116,7 @@ public class ZipFileObjectTest {
     }
 
     /**
-     * Tests that we can get a stream from one file in a zip file, then close another file from the same zip, then
+     * Tests that we can get a stream from one file in a ZIP file, then close another file from the same zip, then
      * process the initial input stream.
      *
      * @throws IOException
@@ -140,7 +140,7 @@ public class ZipFileObjectTest {
     }
 
     /**
-     * Tests that we can get a stream from one file in a zip file, then close another file from the same zip, then
+     * Tests that we can get a stream from one file in a ZIP file, then close another file from the same zip, then
      * process the initial input stream. If our internal reference counting is correct, the test passes.
      *
      * @throws IOException
@@ -166,7 +166,7 @@ public class ZipFileObjectTest {
     }
 
     /**
-     * Test read file with special name in a zip file
+     * Test read file with special name in a ZIP file
      */
     @Test
     public void testReadSpecialNameFileInZipFile() throws FileSystemException {
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderTestCase.java
index 63ee3875..45d7fb04 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderTestCase.java
@@ -34,7 +34,7 @@ import junit.framework.Test;
 public class ZipProviderTestCase extends AbstractProviderTestConfig {
 
     /**
-     * Creates the test suite for the zip file system.
+     * Creates the test suite for the ZIP file system.
      */
     public static Test suite() throws Exception {
         return new ProviderTestSuite(new ZipProviderTestCase(), true);
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetNullTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetNullTestCase.java
index f3deaec8..6ddf05f1 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetNullTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetNullTestCase.java
@@ -37,7 +37,7 @@ import junit.framework.Test;
 public class ZipProviderWithCharsetNullTestCase extends AbstractProviderTestConfig {
 
     /**
-     * Creates the test suite for the zip file system.
+     * Creates the test suite for the ZIP file system.
      */
     public static Test suite() throws Exception {
         return new ProviderTestSuite(new ZipProviderWithCharsetNullTestCase(), true);
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetTestCase.java
index c8f21eed..bc5714a2 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/ZipProviderWithCharsetTestCase.java
@@ -38,7 +38,7 @@ import junit.framework.Test;
 public class ZipProviderWithCharsetTestCase extends AbstractProviderTestConfig {
 
     /**
-     * Creates the test suite for the zip file system.
+     * Creates the test suite for the ZIP file system.
      */
     public static Test suite() throws Exception {
         return new ProviderTestSuite(new ZipProviderWithCharsetTestCase(), true);