[jboss-cvs] JBossAS SVN: r84196 - in trunk: tomcat/src/main/org/jboss/web/tomcat/service/deployers and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 13 17:16:34 EST 2009
Author: alesj
Date: 2009-02-13 17:16:34 -0500 (Fri, 13 Feb 2009)
New Revision: 84196
Modified:
trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
Log:
Work on interfaces.
Modified: trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java 2009-02-13 22:13:50 UTC (rev 84195)
+++ trunk/server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java 2009-02-13 22:16:34 UTC (rev 84196)
@@ -364,7 +364,7 @@
List<VirtualFile> classpathVFs = vfsUnit.getClassPath();
if (classpathVFs != null)
{
- ArrayList<URL> classpath = new ArrayList<URL>();
+ List<URL> classpath = new ArrayList<URL>();
for (VirtualFile vf : classpathVFs)
{
try
Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java 2009-02-13 22:13:50 UTC (rev 84195)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java 2009-02-13 22:16:34 UTC (rev 84196)
@@ -22,9 +22,7 @@
package org.jboss.web.tomcat.service.deployers;
import java.io.File;
-import java.io.FileOutputStream;
import java.io.IOException;
-import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLDecoder;
@@ -37,7 +35,6 @@
import java.util.List;
import java.util.Set;
import java.util.zip.ZipFile;
-
import javax.management.Attribute;
import javax.management.MBeanServer;
import javax.management.ObjectName;
@@ -508,7 +505,7 @@
* else scoped class loading does not see the war level overrides. The call to setWarURL adds these paths to the
* deployment UCL.
*/
- ArrayList<URL> classpath = (ArrayList<URL>)unit.getAttachment("org.jboss.web.expandedWarClasspath");
+ List<URL> classpath = unit.getAttachment("org.jboss.web.expandedWarClasspath", List.class);
if (classpath == null && unit instanceof VFSDeploymentUnit)
{
VFSDeploymentUnit vfsUnit = (VFSDeploymentUnit)unit;
@@ -523,9 +520,8 @@
classpath = new ArrayList<URL>();
classpath.add(vfsURL);
}
- catch (Exception e)
+ catch (Exception ignored)
{
-
}
}
More information about the jboss-cvs-commits
mailing list