commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1150832 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
Date Mon, 25 Jul 2011 18:32:19 GMT
Author: bodewig
Date: Mon Jul 25 18:32:19 2011
New Revision: 1150832

URL: http://svn.apache.org/viewvc?rev=1150832&view=rev
Log:
if the one-arg version of setName is protected, the two-arg version should be as well

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java?rev=1150832&r1=1150831&r2=1150832&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
Mon Jul 25 18:32:19 2011
@@ -497,11 +497,15 @@ public class ZipArchiveEntry extends jav
     }
 
     /**
-     * Package private setter that sets the name using the raw bytes
-     * and the string created from it by guessing or suing the
-     * configured encoding.
+     * Sets the name using the raw bytes and the string created from
+     * it by guessing or using the configured encoding.
+     * @param name the name to use created from the raw bytes using
+     * the guessed or configured encoding
+     * @param rawName the bytes originally read as name from the
+     * archive
+     * @since Apache Commons Compress 1.2
      */
-    void setName(String name, byte[] rawName) {
+    protected void setName(String name, byte[] rawName) {
         setName(name);
         this.rawName = rawName;
     }



Mime
View raw message