Author: olamy Date: Wed Oct 1 04:02:59 2014 New Revision: 1628592 URL: http://svn.apache.org/r1628592 Log: minot formatting
Modified: tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.java tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/RunMojo.java Modified: tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.java?rev=1628592&r1=1628591&r2=1628592&view=diff ============================================================================== --- tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.java Wed Oct 1 04:02:59 2014 @@ -734,7 +734,7 @@ public abstract class AbstractRunMojo // normally this one only but just in case ... if ( jarScanner instanceof StandardJarScanner ) { - ( (StandardJarScanner) jarScanner ).setScanAllDirectories( jarScanAllDirectories ); + ( StandardJarScanner.class.cast( jarScanner ) ).setScanAllDirectories( jarScanAllDirectories ); } return context; @@ -886,7 +886,6 @@ public abstract class AbstractRunMojo else { webappLoader = new WebappLoader( getTomcatClassLoader() ); - //webappLoader.setLoaderClass( MavenWebappClassLoader.class.getName() ); } } else @@ -900,7 +899,6 @@ public abstract class AbstractRunMojo else { webappLoader = new WebappLoader( Thread.currentThread().getContextClassLoader() ); - //webappLoader.setLoaderClass( MavenWebappClassLoader.class.getName() ); } } return webappLoader; Modified: tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/RunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/RunMojo.java?rev=1628592&r1=1628591&r2=1628592&view=diff ============================================================================== --- tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/RunMojo.java (original) +++ tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/RunMojo.java Wed Oct 1 04:02:59 2014 @@ -372,8 +372,6 @@ public class RunMojo } } - - if ( url == null ) { return new EmptyResource( this, getPath() ); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org