You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/05/04 12:41:23 UTC

svn commit: r1742263 - /tomcat/trunk/java/org/apache/tomcat/Jar.java

Author: markt
Date: Wed May  4 12:41:23 2016
New Revision: 1742263

URL: http://svn.apache.org/viewvc?rev=1742263&view=rev
Log:
Javadoc fixes

Modified:
    tomcat/trunk/java/org/apache/tomcat/Jar.java

Modified: tomcat/trunk/java/org/apache/tomcat/Jar.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/Jar.java?rev=1742263&r1=1742262&r2=1742263&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/Jar.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/Jar.java Wed May  4 12:41:23 2016
@@ -21,16 +21,16 @@ import java.io.InputStream;
 import java.net.URL;
 import java.util.jar.Manifest;
 
-import org.apache.tomcat.util.scan.JarFactory;
-
 /**
  * Provides an abstraction for use by the various classes that need to scan
- * JARs. The classes provided by the JRE for accessing JARs ({@link java.util.jar.JarFile} and
- * {@link java.util.jar.JarInputStream}) have significantly different performance
- * characteristics depending on the form of the URL used to access the JAR.
- * For file based JAR {@link java.net.URL}s, {@link java.util.jar.JarFile} is faster but for non-file
- * based {@link java.net.URL}s, {@link java.util.jar.JarFile} creates a copy of the JAR in the
- * temporary directory so {@link java.util.jar.JarInputStream} is faster.
+ * JARs. The classes provided by the JRE for accessing JARs
+ * ({@link java.util.jar.JarFile} and {@link java.util.jar.JarInputStream}) have
+ * significantly different performance characteristics depending on the form of
+ * the URL used to access the JAR. For file based JAR {@link java.net.URL}s,
+ * {@link java.util.jar.JarFile} is faster but for non-file based
+ * {@link java.net.URL}s, {@link java.util.jar.JarFile} creates a copy of the
+ * JAR in the temporary directory so {@link java.util.jar.JarInputStream} is
+ * faster.
  */
 public interface Jar extends AutoCloseable {
 
@@ -109,7 +109,8 @@ public interface Jar extends AutoCloseab
      * be used, rather the jar:jar:file:... form (that the JRE does not
      * understand will be used). Note that this means that any code using these
      * URLs will need to understand the jar:jar:file:... form and use the
-     * {@link JarFactory} to ensure resources are accessed correctly.
+     * {@link org.apache.tomcat.util.scan.JarFactory} to ensure resources are
+     * accessed correctly.
      *
      * @param entry The entry to generate the URL for
      *



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org