From 44b4c8763d234076a483903a2db6efaf1fb95cf8 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 10 Feb 2014 19:12:03 +0000 Subject: [PATCH] Add IBM OS/400 detection git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566705 13f79535-47bb-0310-9956-ffa450edef68 --- src/changes/changes.xml | 2 +- src/main/java/org/apache/commons/lang3/SystemUtils.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index ca09b975e..036c643b9 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,7 +46,7 @@ Validate: add inclusiveBetween and exclusiveBetween overloads for primitive types New RandomUtils class Wrong locale handling in LocaleUtils.toLocale() - Add IBM iSeries 5 OS detection + Add IBM OS/400 detection diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java index a00fa6399..d48cafbfd 100644 --- a/src/main/java/org/apache/commons/lang3/SystemUtils.java +++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java @@ -960,7 +960,7 @@ public class SystemUtils { /** *

- * Is {@code true} if this is IBM iSeries 5. + * Is {@code true} if this is IBM OS/400. *

*

* The field will return {@code false} if {@code OS_NAME} is {@code null}. @@ -968,7 +968,7 @@ public class SystemUtils { * * @since 3.3 */ - public static final boolean IS_OS_ISERIES = getOSMatchesName("OS/400"); + public static final boolean IS_OS_400 = getOSMatchesName("OS/400"); /** *