Commit Graph

4035 Commits

Author SHA1 Message Date
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
Benedikt Ritter 2b2eaf5af1 Document behavior for null inputs in class JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561010 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:58:55 +00:00
Benedikt Ritter 4403166697 Add missing quotes to JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561007 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:55:58 +00:00
Benedikt Ritter 1275bf6219 Add missing @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561005 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:52:46 +00:00
Benedikt Ritter 07ea480752 Use assertNull(actual) instead of assertEquals(null, actual)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561003 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:48:26 +00:00
Duncan Jones 08f584150a Moved Duncan Jones from contributors to developer list. (Testing ability to commit also).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560836 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 22:37:36 +00:00
Benedikt Ritter fc52f1c7f8 Use annotation based testing for failure case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560762 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:15:48 +00:00
Benedikt Ritter 7a532bcc01 Keep tests for Levenshtein Distance together
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560759 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:10:58 +00:00
Benedikt Ritter 64e9b7f514 Remove unused local variables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560757 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:10:09 +00:00
Benedikt Ritter 3eb4be60cf Reuse code already available in StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560756 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:07:46 +00:00
Benedikt Ritter 6f5f99440e Inline division operation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560753 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:03:13 +00:00
Benedikt Ritter b44b35129e More source code to format...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560751 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:01:48 +00:00