You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2014/08/08 17:26:26 UTC

svn commit: r1616803 - /maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java

Author: rfscholte
Date: Fri Aug  8 15:26:25 2014
New Revision: 1616803

URL: http://svn.apache.org/r1616803
Log:
Fix formatting
Prefer File.getPath() over File.toString()

Modified:
    maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java

Modified: maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java?rev=1616803&r1=1616802&r2=1616803&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java (original)
+++ maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java Fri Aug  8 15:26:25 2014
@@ -243,8 +243,10 @@ public class EjbMojo
         throws MojoExecutionException
     {
         
-        if (!outputDirectory.exists()) {
-            getLog().warn( "The created EJB jar will be empty cause the " + outputDirectory.toString() + " did not exist." );
+        if ( !outputDirectory.exists() )
+        {
+            getLog().warn( "The created EJB jar will be empty cause the " + outputDirectory.getPath()
+                               + " did not exist." );
             outputDirectory.mkdirs();
         }