[LANG-966] Add IBM iSeries 5 OS detection.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1564150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-02-04 01:48:15 +00:00
parent 21c438188f
commit 4d51150a69
2 changed files with 13 additions and 0 deletions

View File

@ -44,6 +44,7 @@
<action issue="LANG-834" type="add" dev="britter">Validate: add inclusiveBetween and exclusiveBetween overloads for primitive types</action>
<action issue="LANG-900" type="add" dev="britter" due-to="Duncan Jones">New RandomUtils class</action>
<action issue="LANG-915" type="fix" dev="britter" due-to="Sergio Fernández">Wrong locale handling in LocaleUtils.toLocale()</action>
<action issue="LANG-966" type="add" dev="ggregory">Add IBM iSeries 5 OS detection</action>
</release>
<release version="3.2.1" date="2014-01-05" description="Bug fix for 3.2">

View File

@ -958,6 +958,18 @@ public class SystemUtils {
*/
public static final boolean IS_OS_HP_UX = getOSMatchesName("HP-UX");
/**
* <p>
* Is {@code true} if this is IBM iSeries 5.
* </p>
* <p>
* The field will return {@code false} if {@code OS_NAME} is {@code null}.
* </p>
*
* @since 3.3
*/
public static final boolean IS_OS_ISERIES_5 = getOSMatchesName("i5/OS");
/**
* <p>
* Is {@code true} if this is Irix.