dion 02/05/20 21:55:02
Modified: src/java/org/apache/maven/j2ee WarClassLoader.java
Log:
CheckStyle issues
Revision Changes Path
1.3 +14 -3
jakarta-turbine-maven/src/java/org/apache/maven/j2ee/WarClassLoader.java
Index: WarClassLoader.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/j2ee/WarClassLoader.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WarClassLoader.java 19 May 2002 22:49:59 -0000 1.2
+++ WarClassLoader.java 21 May 2002 04:55:02 -0000 1.3
@@ -69,17 +69,21 @@
* A {@link ClassLoader} that loads classes from a {@link WarFile}
*
* @author <a href="mailto:[EMAIL PROTECTED]">dIon Gillard</a>
- * @version $Id: WarClassLoader.java,v 1.2 2002/05/19 22:49:59 dion Exp $
+ * @version $Id: WarClassLoader.java,v 1.3 2002/05/21 04:55:02 dion Exp $
*/
public class WarClassLoader extends URLClassLoader
{
/** temp files created by classloader */
private List tempFiles = new ArrayList();
/** war file to be used for class loading */
- WarFile war;
+ private WarFile war;
/** Creates a new instance of WarClassLoader
* @param war a {@link WarFile}
+ * @throws IOException when an I/O error occurs extracting the jars from the
+ * war
+ * @throws MalformedURLException if the jar: URL is not supported on the
+ * underlying platform
*/
public WarClassLoader(WarFile war) throws IOException, MalformedURLException
{
@@ -92,6 +96,10 @@
* classloader as the one to delegate to if classes can't be found
* @param war a {@link WarFile}
* @param classloader a {@link ClassLoader} to delegate to.
+ * @throws IOException when an I/O error occurs extracting the jars from the
+ * war
+ * @throws MalformedURLException if the jar: URL is not supported on the
+ * underlying platform
*/
public WarClassLoader(WarFile war, ClassLoader classloader) throws
IOException, MalformedURLException
@@ -102,7 +110,10 @@
}
/** Add WEB-INF/classes and WEB-INF/lib/*.jar as extra classpath URLs
- * @param
+ * @throws IOException when an I/O error occurs extracting the jars from the
+ * war
+ * @throws MalformedURLException if the jar: URL is not supported on the
+ * underlying platform
*/
private void addURLs() throws IOException, MalformedURLException
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>