Commit Graph

3891 Commits

Author SHA1 Message Date
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
Benedikt Ritter 5f8d99694b LANG-900 introduced new features, so next version will be 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557435 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:11:48 +00:00
Benedikt Ritter b05a81debb LANG-900: New RandumUtils class. Thanks to Duncan Jones
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:10:13 +00:00
Benedikt Ritter 8ea0c02848 LANG-915: Wrong locale handling in LocaleUtils.toLocale(). Thanks to Sergio Fernández
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557378 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 13:06:36 +00:00
Benedikt Ritter e42dad3901 Lang requires Java 6, update URL to JavaSE docs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557357 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 11:56:00 +00:00
Matthew Jason Benson 7a62fabdfc [LANG-819] support ? extends as type parameter for input Iterables on #generateBitVector() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557159 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 15:41:57 +00:00
Benedikt Ritter 19714df228 Replace old comment with one that really explains the property
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556856 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:10:04 +00:00
Benedikt Ritter 31e1180905 Reuse properties from default build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556855 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:07:52 +00:00
Benedikt Ritter 5d41d0f54c Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556853 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:05:09 +00:00
Benedikt Ritter a6bd46490d Update doap after 3.2.1 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556640 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 21:14:35 +00:00
Benedikt Ritter 18c73f2de5 Update version numbers after 3.2.1 has been released
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556638 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 21:09:36 +00:00