Author: olamy
Date: Wed Oct 1 23:43:25 2014
New Revision: 1628866
URL: http://svn.apache.org/r1628866
Log:
revert use of cast method
Modified:
tomcat/maven-plugin/branches/tc8.x/tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/run/AbstractRunMojo.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=1628866&r1=1628865&r2=1628866&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 23:43:25 2014
@@ -734,7 +734,7 @@ public abstract class AbstractRunMojo
// normally this one only but just in case ...
if ( jarScanner instanceof StandardJarScanner )
{
- ( StandardJarScanner.class.cast( jarScanner )
).setScanAllDirectories( jarScanAllDirectories );
+ ( (StandardJarScanner) jarScanner ).setScanAllDirectories(
jarScanAllDirectories );
}
return context;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]