Skip to content

Commit

Permalink
Statically import SystemUtils.JAVA_SPECIFICATION_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Sep 17, 2016
1 parent 39563f1 commit 498942b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

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;
Expand Down Expand Up @@ -172,6 +173,6 @@ public static List<ReportTestSuite> extractITReports( File... testDirs )
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() ) ) );
}
}

0 comments on commit 498942b

Please sign in to comment.