commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r748288 - /commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
Date Thu, 26 Feb 2009 20:15:39 GMT
Author: sebb
Date: Thu Feb 26 20:15:38 2009
New Revision: 748288

URL: http://svn.apache.org/viewvc?rev=748288&view=rev
Log:
Fix set() methods that do not actually work.

Modified:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java

Modified: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java?rev=748288&r1=748287&r2=748288&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
(original)
+++ commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
Thu Feb 26 20:15:38 2009
@@ -91,7 +91,7 @@
      *         in the central directory of the zip file to set.
      */
     public void setNameCRC32(long nameCRC32) {
-        nameCRC32 = nameCRC32;
+        this.nameCRC32 = nameCRC32;
         data = null;
     }
 
@@ -106,7 +106,7 @@
      * @param unicodeName The utf-8 encoded name to set.
      */
     public void setUnicodeName(byte[] unicodeName) {
-        unicodeName = unicodeName;
+        this.unicodeName = unicodeName;
         data = null;
     }
 



Mime
View raw message