]> WPIA git - gigi.git/blobdiff - lib/jetty/org/eclipse/jetty/util/resource/JarResource.java
Merge "Update notes about password security"
[gigi.git] / lib / jetty / org / eclipse / jetty / util / resource / JarResource.java
index 3dbb70a9ffdd427743a556a7020b3fcaa6e7de77..47eb108631a17f4a6222b059700cc1bd3a6d1352 100644 (file)
@@ -1,6 +1,6 @@
 //
 //  ========================================================================
-//  Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
+//  Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
 //  ------------------------------------------------------------------------
 //  All rights reserved. This program and the accompanying materials
 //  are made available under the terms of the Eclipse Public License v1.0
@@ -92,7 +92,7 @@ public class JarResource extends URLResource
     
     /* ------------------------------------------------------------ */
     /**
-     * Returns true if the respresenetd resource exists.
+     * Returns true if the represented resource exists.
      */
     @Override
     public boolean exists()
@@ -118,7 +118,7 @@ public class JarResource extends URLResource
     {     
         checkConnection();
         if (!_urlString.endsWith("!/"))
-            return new FilterInputStream(super.getInputStream()) 
+            return new FilterInputStream(getInputStream(false)) 
             {
                 @Override
                 public void close() throws IOException {this.in=IO.getClosedStream();}
@@ -129,6 +129,9 @@ public class JarResource extends URLResource
         return is;
     }
     
+    
+    
     /* ------------------------------------------------------------ */
     @Override
     public void copyTo(File directory)