Merge branch 'LANG-1415'
This commit is contained in:
commit
88b951a227
|
@ -22,8 +22,6 @@ before_install:
|
|||
|
||||
matrix:
|
||||
include:
|
||||
- env: JDK_RELEASE='OpenJDK 7'
|
||||
jdk: openjdk7
|
||||
- env: JDK_RELEASE='OracleJDK 8'
|
||||
jdk: oraclejdk8
|
||||
- env: JDK_RELEASE='OracleJDK 9'
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -557,8 +557,8 @@
|
|||
<argLine>-Xmx512m</argLine>
|
||||
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<!--
|
||||
This is also used to generate download_xxx file name.
|
||||
To override this when generating the download page:
|
||||
|
@ -574,7 +574,7 @@
|
|||
<commons.module.name>org.apache.commons.lang3</commons.module.name>
|
||||
<!-- Current 3.x release series -->
|
||||
<commons.release.version>3.9</commons.release.version>
|
||||
<commons.release.desc>(Java 7+)</commons.release.desc>
|
||||
<commons.release.desc>(Java 8+)</commons.release.desc>
|
||||
<!-- Previous 2.x release series -->
|
||||
<commons.release.2.version>2.6</commons.release.2.version>
|
||||
<commons.release.2.desc>(Requires Java 1.2 or later)</commons.release.2.desc>
|
||||
|
|
|
@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<body>
|
||||
|
||||
<release version="3.9" date="????-??-??" description="??">
|
||||
<action issue="LANG-1415" type="update" dev="britter">Update Java Language requirement to 1.8</action>
|
||||
<action issue="LANG-1411" type="add" dev="britter" due-to="Alexander Tsvetkov">Add isEmpty method to ObjectUtils</action>
|
||||
</release>
|
||||
|
||||
|
|
|
@ -141,19 +141,6 @@ public class SystemUtilsTest {
|
|||
assertFalse(SystemUtils.IS_JAVA_9);
|
||||
assertFalse(SystemUtils.IS_JAVA_10);
|
||||
assertFalse(SystemUtils.IS_JAVA_11);
|
||||
} else if (javaVersion.startsWith("1.7")) {
|
||||
assertFalse(SystemUtils.IS_JAVA_1_1);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_2);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_3);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_4);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_5);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_6);
|
||||
assertTrue(SystemUtils.IS_JAVA_1_7);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_8);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_9);
|
||||
assertFalse(SystemUtils.IS_JAVA_9);
|
||||
assertFalse(SystemUtils.IS_JAVA_10);
|
||||
assertFalse(SystemUtils.IS_JAVA_11);
|
||||
} else if (javaVersion.startsWith("1.8")) {
|
||||
assertFalse(SystemUtils.IS_JAVA_1_1);
|
||||
assertFalse(SystemUtils.IS_JAVA_1_2);
|
||||
|
|
Loading…
Reference in New Issue