Commit Graph

4020 Commits

Author SHA1 Message Date
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
Benedikt Ritter 7d4041d827 Format source code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560746 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:57:58 +00:00
Benedikt Ritter 5a770a121a Use final modifier where possible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560744 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:55:58 +00:00
Benedikt Ritter bf37bd5d74 Remove unnecessary try-catch-block
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560742 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:53:42 +00:00
Benedikt Ritter d47495f3f1 Correct indentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560741 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:51:30 +00:00
Benedikt Ritter 8d815d8f8d Tiddy up JavaDoc for Jaro Winkler Distance calculation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560740 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:48:17 +00:00
Benedikt Ritter 7460a856f2 LANG-944: Add the Jaro-Winkler string distance algorithm to StringUtils - partially applying the patch by Rekha Joshi as submitted for further refinement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560727 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:27:51 +00:00
Henri Yandell 8cd2339a97 Applying Eli Lindsey's patch to Yaniv Kunda's report in LANG-936 that StringUtils.getLevensteinDistance(String, String, int) gave the wrong answer when the int threshold is near Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560275 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 08:19:22 +00:00
Benedikt Ritter 3a8595f1a5 LANG-954: uncaught PatternSyntaxException in FastDateFormat - add test for the pattern in question; works at least with JDK 1.7.0_45
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560137 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 18:45:08 +00:00
Bruno P. Kinoshita 5d10a4a6aa [LANG-943] Test DurationFormatUtilsTest.testEdgeDuration fails in JDK 1.6, 1.7 and 1.8, BRST time zone
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559802 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 18:37:44 +00:00
Benedikt Ritter b5a9cd944c LANG-951: Fragments are wrong by 1 day when using fragment YEAR or MONTH - fix test that failed because of wrong assertions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559787 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:33:09 +00:00
Benedikt Ritter b3c1a78dab Add LANG-613 to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559783 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:26:50 +00:00
Benedikt Ritter 0942ef04f1 LANG-951: Fragments are wrong by 1 day when using fragment YEAR or MONTH - applying patch provided by Sebastian Götz, several tests now fail because of wrong assertions, will fix them in a separate commit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559780 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:19:59 +00:00
Matthew Jason Benson 8252b04a45 [LANG-613] ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559779 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:19:02 +00:00
Benedikt Ritter 59311cc13a Add a README.md so that your github mirror looks a bit more inviting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559534 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 17:32:11 +00:00
Benedikt Ritter 43008052af LANG-417: New class ClassPathUtils with methods for turning FQN into resource path
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559495 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 13:26:45 +00:00