/[classpath]/classpath/java/net/JarURLConnection.java
ViewVC logotype

Diff of /classpath/java/net/JarURLConnection.java

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

revision 1.22 by mark, Sat Jul 2 20:32:39 2005 UTC revision 1.23 by tromey, Mon Aug 22 21:07:08 2005 UTC
# Line 1  Line 1 
1  /* JarURLConnection.java -- Class for manipulating remote jar files  /* JarURLConnection.java -- Class for manipulating remote jar files
2     Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc.     Copyright (C) 1998, 2002, 2003, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 151  public abstract class JarURLConnection e Line 151  public abstract class JarURLConnection e
151     */     */
152    public JarEntry getJarEntry() throws IOException    public JarEntry getJarEntry() throws IOException
153    {    {
154        if (entryName == null)
155          return null;
156      JarFile jarFile = getJarFile();      JarFile jarFile = getJarFile();
   
157      return jarFile != null ? jarFile.getJarEntry(entryName) : null;      return jarFile != null ? jarFile.getJarEntry(entryName) : null;
158    }    }
159    

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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