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;
     }


Reply via email to