Commit Graph

3956 Commits

Author SHA1 Message Date
Henri Yandell efa688d1f6 Switching i->em tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567516 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 03:52:45 +00:00
Henri Yandell 56457611f3 Switching b->strong tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 03:51:25 +00:00
Sebastian Bazley 3269d1bc7a Javadoc update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566972 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:57:40 +00:00
Sebastian Bazley 9397608dd3 LANG-971 NumberUtils#isNumber(String) fails to reject invalid Octal numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566967 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:53:03 +00:00
Sebastian Bazley 5a509030a9 LANG-972 NumberUtils#isNumber does not allow for hex 0XABCD
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566963 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:34:36 +00:00
Sebastian Bazley 159415855d Simplify tests by extracting common code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566731 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 20:24:56 +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 5feaa5fe2c <action issue="LANG-969" type="fix" dev="ggregory" due-to="Matt Bishop">StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566489 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 02:06:06 +00:00
Gary D. Gregory 4b718f6e5a <action issue="LANG-970" type="add" dev="ggregory">Add APIs MutableBoolean setTrue() and setFalse()</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565915 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 04:35:17 +00:00
Gary D. Gregory 2d6fef59e6 Better Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565834 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 22:23:02 +00:00
Gary D. Gregory 84f392eaa4 [LANG-969] StringUtils.toEncodedString(byte[], Charset) needlessly throws exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565833 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 22:21:55 +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
Sebastian Bazley d6a556dad7 Add explict default case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565257 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:51:45 +00:00
Sebastian Bazley 65392be352 Add explict default case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565252 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:48:08 +00:00
Sebastian Bazley eabd95a51c Additional samples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565251 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:47:21 +00:00
Sebastian Bazley af74365e31 Rename to avoid clashing with parameter names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565245 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:39:50 +00:00
Sebastian Bazley 32a260ff46 Don't assign parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565243 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:37:12 +00:00
Sebastian Bazley f27c439c8d Fall through is intentional
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565235 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:31:43 +00:00
Sebastian Bazley 5a001837b4 Clarify that leading zeros are not ignored
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565232 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:29:21 +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 21c438188f Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563993 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:45:16 +00:00
Gary D. Gregory c40d7c4d37 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563680 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:41:15 +00:00
Gary D. Gregory 04d743f4f4 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563679 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:40:52 +00:00
Gary D. Gregory 35a2c81ac4 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563678 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:40:32 +00:00
Benedikt Ritter 717ac0c7b3 Set svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563407 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 12:47:15 +00:00
Benedikt Ritter 48652f5941 LANG-946: ConstantInitializerTest fails when building with IBM JDK 7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563388 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 10:46:28 +00:00
Duncan Jones 954280893c Reverts changes introduced in r1563259. Discussion to be had over correct place for this functionality (likely org.apache.commons.lang3.Conversion).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563378 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 07:53:54 +00:00
Gary D. Gregory a3de60835e <action issue="LANG-962" type="add" dev="ggregory">Add SerializationUtils.roundtrip(T extends Serializable) to serialize then deserialize</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563309 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 22:32:03 +00:00
Duncan Jones 364d5912b2 LANG-341: Please add number to byte[] methods. Suggested by Lilianne E. Blaze. Final patch from Vincent Ricard (with thanks to Henri Yandell).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563259 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 21:12:57 +00:00
Gary D. Gregory 725a2be1ef More precise generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563016 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 23:37:23 +00:00
Gary D. Gregory 0c7b32a211 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself. Only call setAccessible if neccessary and tell the caller about it so it can undo the change if need be.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563014 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 23:28:26 +00:00
Gary D. Gregory 1bc33d2211 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562994 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 22:00:42 +00:00
Gary D. Gregory 2eecc96a53 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562991 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:53:52 +00:00
Gary D. Gregory 8c04a90ec5 Add in-line comment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562987 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:37:34 +00:00
Gary D. Gregory c79f82491a removeFinalModifier does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562985 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:36:38 +00:00
Gary D. Gregory 2c8822657d Javadoc: format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562982 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:35:28 +00:00
Gary D. Gregory 9b07d9c306 Javadoc: Use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562981 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:35:10 +00:00
Gary D. Gregory 8f06368cd4 Make the write*Field impl match its in-line comment and not rely on the default behavior of writeField(field,target,value).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562979 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:33:17 +00:00
Gary D. Gregory fd3057092d Make the write*Field impl match its in-line comment and not rely on the default behavior of writeField(field,target,value).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:32:19 +00:00
Gary D. Gregory fc41d6bb88 Make the readDeclaredField(final Object target, final String fieldName, final boolean forceAccess) impl match its in-line comment and not rely on the default behavior of readField(Field, Object).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562977 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:30:34 +00:00
Gary D. Gregory 5ba58d45d0 Make the readDeclaredField(final Object target, final String fieldName, final boolean forceAccess) impl match its in-line comment and not rely on the default behavior of readField(Field, Object).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562976 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:29:53 +00:00
Gary D. Gregory 03c16e857d Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562971 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:23:18 +00:00
Benedikt Ritter f67f7c27dc Remove unnecessary white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562922 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 18:54:41 +00:00
Matthew Jason Benson 42ef7d6bc8 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562880 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 16:28:19 +00:00
Duncan Jones 82664d556c Removed two duplicated assertions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562018 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 09:35:29 +00:00
Duncan Jones ce9d841f79 Resolved compiler warnings shown in Eclipse and when compiling with -Xlint:unchecked.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562017 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 09:31:53 +00:00
Benedikt Ritter 1837ea7782 Fix raw type warnings, as pointed out by Duncan Jones
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561722 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 16:19:55 +00:00
Duncan Jones ef9db7e5c7 Lang is targeted at Java 1.6 now. Corrected text alignment issue (now left-aligned),
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561402 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 21:01:32 +00:00
Benedikt Ritter f074f784ef Add missing changes entry for LANG-958
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561276 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 08:53:31 +00:00