svn commit: r1848275 - /tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1848275 - /tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java

markt
Author: markt
Date: Thu Dec  6 09:35:42 2018
New Revision: 1848275

URL: http://svn.apache.org/viewvc?rev=1848275&view=rev
Log:
Add additional method present in 8.5.x

Modified:
    tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java

Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java?rev=1848275&r1=1848274&r2=1848275&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/scan/ReferenceCountedJar.java Thu Dec  6 09:35:42 2018
@@ -143,4 +143,13 @@ public class ReferenceCountedJar impleme
             jar.wrappedJar.reset();
         }
     }
+
+
+    @Override
+    @Deprecated
+    public boolean entryExists(String name) throws IOException {
+        try (ReferenceCountedJar jar = open()) {
+            return jar.wrappedJar.entryExists(name);
+        }
+    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]