maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1627934 - /maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java
Date Sat, 27 Sep 2014 08:47:26 GMT
Author: krosenvold
Date: Sat Sep 27 08:47:25 2014
New Revision: 1627934

URL: http://svn.apache.org/r1627934
Log:
Ok, so semantics are still muddy on java6. DGF

Modified:
    maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java

Modified: maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java?rev=1627934&r1=1627933&r2=1627934&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java
(original)
+++ maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/io/DirectoryScannerTest.java
Sat Sep 27 08:47:25 2014
@@ -122,6 +122,7 @@ public class DirectoryScannerTest
     @Test
     public void followSymlinksFalse()
     {
+        if (!Java7Support.isJava7()) return;
         DirectoryScanner ds = new DirectoryScanner();
         ds.setBasedir( new File( "src/test/resources/symlinks/src/" ) );
         ds.setFollowSymlinks( false );
@@ -154,6 +155,7 @@ public class DirectoryScannerTest
     @Test
     public void followSymlinks()
     {
+        if (!Java7Support.isJava7()) return;
         DirectoryScanner ds = new DirectoryScanner();
         ds.setBasedir( new File( "src/test/resources/symlinks/src/" ) );
         ds.setFollowSymlinks( true );



Mime
View raw message