commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1534226 - in /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip: AbstractUnicodeExtraField.java GeneralPurposeBit.java ZipArchiveOutputStream.java ZipEncodingHelper.java
Date Mon, 21 Oct 2013 15:38:30 GMT
Author: ggregory
Date: Mon Oct 21 15:38:29 2013
New Revision: 1534226

URL: http://svn.apache.org/r1534226
Log:
Fix Javadoc and comment nits: "utf-8" -> "UTF-8".

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java?rev=1534226&r1=1534225&r2=1534226&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
Mon Oct 21 15:38:29 2013
@@ -102,7 +102,7 @@ public abstract class AbstractUnicodeExt
     }
 
     /**
-     * @return The utf-8 encoded name.
+     * @return The UTF-8 encoded name.
      */
     public byte[] getUnicodeName() {
         byte[] b = null;
@@ -114,7 +114,7 @@ public abstract class AbstractUnicodeExt
     }
 
     /**
-     * @param unicodeName The utf-8 encoded name to set.
+     * @param unicodeName The UTF-8 encoded name to set.
      */
     public void setUnicodeName(byte[] unicodeName) {
         if (unicodeName != null) {

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java?rev=1534226&r1=1534225&r2=1534226&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
Mon Oct 21 15:38:29 2013
@@ -41,7 +41,7 @@ public final class GeneralPurposeBit {
     private static final int STRONG_ENCRYPTION_FLAG = 1 << 6;
 
     /**
-     * Indicates that filenames are written in utf-8.
+     * Indicates that filenames are written in UTF-8.
      *
      * <p>The only reason this is public is that {@link
      * ZipArchiveOutputStream#EFS_FLAG} was public in Apache Commons

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java?rev=1534226&r1=1534225&r2=1534226&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
Mon Oct 21 15:38:29 2013
@@ -109,7 +109,7 @@ public class ZipArchiveOutputStream exte
 
     /**
      * General purpose flag, which indicates that filenames are
-     * written in utf-8.
+     * written in UTF-8.
      * @deprecated use {@link GeneralPurposeBit#UFT8_NAMES_FLAG} instead
      */
     @Deprecated

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java?rev=1534226&r1=1534225&r2=1534226&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
Mon Oct 21 15:38:29 2013
@@ -214,7 +214,7 @@ public abstract class ZipEncodingHelper 
      */
     public static ZipEncoding getZipEncoding(String name) {
  
-        // fallback encoding is good enough for utf-8.
+        // fallback encoding is good enough for UTF-8.
         if (isUTF8(name)) {
             return UTF8_ZIP_ENCODING;
         }



Mime
View raw message