You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2013/01/28 15:01:56 UTC

svn commit: r1439407 - /maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh

Author: olamy
Date: Mon Jan 28 14:01:56 2013
New Revision: 1439407

URL: http://svn.apache.org/viewvc?rev=1439407&view=rev
Log:
use exists method

Modified:
    maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh

Modified: maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh?rev=1439407&r1=1439406&r2=1439407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh (original)
+++ maven/plugins/trunk/maven-source-plugin/src/it/project-without-sources/verify.bsh Mon Jan 28 14:01:56 2013
@@ -15,7 +15,7 @@ try
 
     File testJarFile = new File( basedir, "target/project-without-sources-1.0-SNAPSHOT-test-sources.jar" );
     System.out.println( "Checking for non-existence of " + testJarFile );
-    if ( testJarFile.isFile() )
+    if ( testJarFile.exists() )
     {
         System.out.println( "FAILURE!" );
         return false;