Commit Graph

3951 Commits

Author SHA1 Message Date
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
Stefan Bodewig c2a5482eea Add site publication and building a Nexus Upload Bundle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559344 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 13:53:17 +00:00
Stefan Bodewig 66733aa27d modularize build file a little, deal with existing dist workspace
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559325 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 06:56:11 +00:00
Benedikt Ritter 0a4525efd7 LANG-939: Move Documentation from user guide to package-info files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559146 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 15:23:19 +00:00
Benedikt Ritter c20c8fa1bc LANG-953: Convert package.html files to package-info.java files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558546 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 19:38:15 +00:00
Benedikt Ritter 282c5699e4 Fix typo introduced by myself :o)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558513 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:59:21 +00:00
Benedikt Ritter 3af7ba8e46 Fix JavaDoc problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558512 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:56:57 +00:00
Benedikt Ritter be963fc089 Simplify assertions by using assertNull instead of assertEquals(null, ...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558507 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:50:11 +00:00
Benedikt Ritter 1f9493cd56 Add missing tickets to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558482 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 17:35:23 +00:00
Chas Honton 03645a1ec1 LANG-949 and LANG-950
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557882 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 23:01:23 +00:00
Benedikt Ritter 2abe2c8366 No need to do a save comparison here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557597 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:59:08 +00:00
Benedikt Ritter 10fee7abaf LANG-940: Fix deprecation warnings; found some more usages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557592 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:53:16 +00:00
Benedikt Ritter bdb68492fc Remove unnecessary semicolon
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557589 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:45:19 +00:00
Benedikt Ritter 9a5706719c Fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557586 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:32:39 +00:00
Benedikt Ritter 7692a9d575 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557585 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:29:53 +00:00
Benedikt Ritter d048a37502 LANG-940: Fix deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557584 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:26:49 +00:00
Benedikt Ritter 2b795dd03a Add missing resolved issue to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 17:58:00 +00:00
Benedikt Ritter c825a13b0b Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557520 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 12:38:08 +00:00
Benedikt Ritter 11a15c6394 LANG-834: Validate: add inclusiveBetween and exclusiveBetween overloads for primitives types. Initial patch provided by Sebb.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557509 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 10:22:00 +00:00
Benedikt Ritter 28daf04ae2 Use annotation based testing for failure cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557446 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:39:21 +00:00