Author: kkolinko
Date: Mon May 28 19:52:11 2012
New Revision: 1343379

URL: http://svn.apache.org/viewvc?rev=1343379&view=rev
Log:
Re r1343375 : simplify code. No functional change.

Modified:
    
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java

Modified: 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java?rev=1343379&r1=1343378&r2=1343379&view=diff
==============================================================================
--- 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
 Mon May 28 19:52:11 2012
@@ -515,11 +515,6 @@ public abstract class AbstractExecWarMoj
     protected File resolvePluginWorkDir()
         throws MojoExecutionException
     {
-        if ( pluginWorkDirectory.exists() )
-        {
-            return pluginWorkDirectory;
-        }
-
         if ( !pluginWorkDirectory.exists() && !pluginWorkDirectory.mkdirs() )
         {
             throw new MojoExecutionException(



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

Reply via email to