/[classpath]/classpath/java/util/zip/ZipEntry.java
ViewVC logotype

Diff of /classpath/java/util/zip/ZipEntry.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by cbj, Sun May 5 02:47:42 2002 UTC revision 1.6 by tromey, Mon Jun 3 22:51:34 2002 UTC
# Line 1  Line 1 
1  /* java.util.zip.ZipEntry  /* java.util.zip.ZipEntry
2     Copyright (C) 2001 Free Software Foundation, Inc.     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 163  public class ZipEntry implements ZipCons Line 163  public class ZipEntry implements ZipCons
163    {    {
164      try      try
165        {        {
166          return super.clone();          // The JCL says that the `extra' field is also copied.
167            ZipEntry clone = (ZipEntry) super.clone();
168            if (extra != null)
169              clone.extra = (byte[]) extra.clone();
170            return clone;
171        }        }
172      catch (CloneNotSupportedException ex)      catch (CloneNotSupportedException ex)
173        {        {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26