Commit Graph

3846 Commits

Author SHA1 Message Date
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
Chas Honton 1c050743c9 FastDateParser javadoc incorrectly states that SimpleDateFormat is used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561228 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 23:29:17 +00:00
Duncan Jones 8a82d7b79b Renamed DiffList to DiffResult as per discussion in LANG-637.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561225 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 23:17:29 +00:00
Duncan Jones ea47f03c4d LANG-637: There should be a DifferenceBuilder with a ReflectionDifferenceBuilder implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561215 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 22:37:50 +00:00
Sebastian Bazley 054f2f9160 Oops - wrong section
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561071 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:09:46 +00:00
Sebastian Bazley 8630180fff LANG-954 uncaught PatternSyntaxException in FastDateFormat on Android
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561045 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 16:00:35 +00:00
Benedikt Ritter 2d55e408ed LANG-956: Improve JavaDoc of WordUtils.wrap methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 15:42:19 +00:00
Benedikt Ritter 5158ed5e23 Remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561016 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:07:03 +00:00
Benedikt Ritter 731a7fa4b9 We are commons now
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561015 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:06:08 +00:00
Benedikt Ritter 66243d1058 Add test for ClassPathUtils accessebility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561014 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:03:52 +00:00
Benedikt Ritter 1e355cfb10 Utilities in commons lang are not final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561013 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:02:49 +00:00