maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r775336 - /maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java
Date Fri, 15 May 2009 20:59:08 GMT
Author: olamy
Date: Fri May 15 20:59:08 2009
New Revision: 775336

URL: http://svn.apache.org/viewvc?rev=775336&view=rev
Log:
[SCM-472] svn tck broken
test in only one line

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java?rev=775336&r1=775335&r2=775336&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/checkout/SvnCheckOutConsumer.java
Fri May 15 20:59:08 2009
@@ -101,12 +101,8 @@
         {
             ScmFile file = (ScmFile) it.next();
 
-            if ( !file.getStatus().equals( ScmFileStatus.DELETED )
-                && !new File( file.getPath() ).isFile() )
-            {
-                // no op
-            }
-            else
+            if (!( !file.getStatus().equals( ScmFileStatus.DELETED )
+                && !new File( file.getPath() ).isFile() ))
             {
                 onlyFiles.add( file );
             }



Mime
View raw message