Commit Graph

32 Commits

Author SHA1 Message Date
Henri Yandell 740c0f95fb Removed @version $ from source per LANG-1129 2015-05-05 12:12:15 -07:00
Benedikt Ritter 09c42e7d12 LANG-821: Support OS X versions in SystemUtils. This also fixes #59 from github. Thanks to Timo Kockert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671043 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:09:07 +00:00
Benedikt Ritter 9c7b0fb8e6 LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. This also fixes #60 from github. Thanks to Timo Kockert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671040 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 12:01:59 +00:00
Benedikt Ritter 3225ba64ce LANG-1103: Add SystemUtils.IS_JAVA_1_9
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669753 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:26:01 +00:00
Benedikt Ritter 11c0df1d9e LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669750 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:08:17 +00:00
Benedikt Ritter 1dc65ff986 Reuse isOsNameMatch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669747 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 11:43:32 +00:00
Niall Pemberton 0e2e37bb83 Fix JavaDoc issues with JDK 1.8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1583482 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 22:54:57 +00:00
Benedikt Ritter acd41040fc Correct since tag, since next release will be 3.3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582984 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 10:48:39 +00:00
Benedikt Ritter d00ee004b0 Remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582983 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 10:48:02 +00:00
Gary D. Gregory 024a22b015 <action issue="LANG-989" type="add" dev="ggregory">Add org.apache.commons.lang3.SystemUtils.IS_JAVA_1_8</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1579864 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 02:01:34 +00:00
Gary D. Gregory 44b4c8763d <action issue="LANG-966" type="add" dev="ggregory">Add IBM OS/400 detection</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566705 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 19:12:03 +00:00
Gary D. Gregory 555570c954 Better name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565488 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 23:45:12 +00:00
Gary D. Gregory af54765d0c Tests on our AS/400 shows the value to be "OS/400".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565487 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 23:44:53 +00:00
Gary D. Gregory 4d51150a69 [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
2014-02-04 01:48:15 +00:00
Gary D. Gregory 5292526e47 Add final modifier to local variables.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436770 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 07:09:45 +00:00
Gary D. Gregory 5bd622dab0 Add final modifier to method parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1436768 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 07:07:42 +00:00
Gary D. Gregory 8df49927b1 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1408273 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:04:33 +00:00
Gary D. Gregory e2c6ef476d [LANG-817] Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1380679 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 15:10:52 +00:00
Henri Yandell 163731256b Changing @since 3.0.2 to @since 3.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199816 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:11:34 +00:00
Gary D. Gregory 16c3a32975 [LANG-759] Add Support in SystemUtils for Windows Server 2003 and Windows Server 2008.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1180197 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 20:12:48 +00:00
Henri Yandell e234e7d341 Adding FreeBSD, NetBSD and OpenBSD per Oliver's suggestion in LANG-695
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160564 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 06:56:42 +00:00
Henri Yandell 3a0c152c22 Removing @author tags per thread on dev@: http://mail-archives.apache.org/mod_mbox/commons-dev/201104.mbox/%3CBANLkTikEa6GNSghx5VidxgNqi3nmKxxcVA@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088899 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 05:31:27 +00:00
Oliver Heger 6e547b34b4 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083228 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:53:44 +00:00
Stephen Colebourne 0ca84735ad Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078032 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 16:07:14 +00:00
Henri Yandell b7a7b7d870 Removing unused variable and unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065196 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 06:43:22 +00:00
Henri Yandell 9ae054b7c8 Removed isJavaVersionAtLeast(float) and (int), and added an enum variant with the new JavaVersion enum. Updated the rest of the code, switched isJavaVersionAtLeast over to using java.specification.version and not java.version (the vendor code) and dropped JAVA_VERSION_TRIMMED, JAVA_VERSION_FLOAT and JAVA_VERSION_INT. See: LANG-624
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065174 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 03:48:40 +00:00
Henri Yandell 80057a6f04 Per discussion on StackOverflow: http://stackoverflow.com/questions/3282498/how-can-i-detect-a-unix-like-os-in-java src/main/java/org/apache/commons/lang3/SystemUtils.java - changing the javadoc to say 'UNIX like' rather than POSIX as some of the listed UNIX like operating systems are not POSIX compatible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989223 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:02:41 +00:00
Gary D. Gregory eb79f7c6f3 (LANG-624) SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM. Oops, fix return type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@949223 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 16:33:23 +00:00
Gary D. Gregory b24ecd60fe - Fix (LANG-624) SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM
- Refactor for unit testing.
- Remove odd test code which is copy and pasted from SystemUtils, which therefore does not test anything.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@949140 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:12:04 +00:00
Henri Yandell 51df5ea90c Closing the paragraph tag on the ThreadSafe notation. LANG-370
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 06:22:16 +00:00
Henri Yandell bb0d189f1b Adding ThreadSafe notes to some obviously threadsafe classes (LANG-370)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918369 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 09:16:38 +00:00
Paul C. Benedict Jr fc5c081e22 Move main source to src/main/java
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@895322 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 02:11:26 +00:00