maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [2/3] maven-surefire git commit: Statically import SystemUtils.JAVA_SPECIFICATION_VERSION
Date Sun, 18 Sep 2016 21:24:57 GMT
Statically import SystemUtils.JAVA_SPECIFICATION_VERSION


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/1090a00a
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/1090a00a
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/1090a00a

Branch: refs/heads/master
Commit: 1090a00a45ea0252b3e2c3150b6eaa47c04e4ace
Parents: f49249e
Author: Benedikt Ritter <beneritter@gmail.com>
Authored: Wed Sep 14 17:46:16 2016 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Sun Sep 18 23:18:10 2016 +0200

----------------------------------------------------------------------
 .../org/apache/maven/surefire/its/fixture/HelperAssertions.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/1090a00a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/HelperAssertions.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/HelperAssertions.java
b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/HelperAssertions.java
index 0a6e918..4502b1b 100644
--- a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/HelperAssertions.java
+++ b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/HelperAssertions.java
@@ -32,6 +32,7 @@ import org.apache.maven.plugins.surefire.report.SurefireReportParser;
 
 import static junit.framework.Assert.assertEquals;
 import static junit.framework.Assert.assertTrue;
+import static org.apache.commons.lang3.SystemUtils.JAVA_SPECIFICATION_VERSION;
 import static org.hamcrest.Matchers.greaterThanOrEqualTo;
 import static org.hamcrest.Matchers.is;
 import static org.junit.Assume.assumeThat;
@@ -172,6 +173,6 @@ public class HelperAssertions
     public static void assumeJavaVersion( JavaVersion version )
     {
         assumeThat( "java.specification.version: ",
-                SystemUtils.JAVA_SPECIFICATION_VERSION, is( greaterThanOrEqualTo( version.toString()
) ) );
+                JAVA_SPECIFICATION_VERSION, is( greaterThanOrEqualTo( version.toString()
) ) );
     }
 }


Mime
View raw message