Commit Graph

1944 Commits

Author SHA1 Message Date
Niall Pemberton 60e5d4933c Remove previous ExtendedMesageFormat tests and update package suite to include ExtendedMessageFormatTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@631652 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:12:38 +00:00
Niall Pemberton 7f5ffc6036 Add new test case for ExtendedMessageFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@631639 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 16:44:17 +00:00
Matthew Jason Benson b3883c4dc3 refine (?) javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@631405 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 22:24:34 +00:00
Matthew Jason Benson 20d5b0101b improve documentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@631256 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 15:36:55 +00:00
Matthew Jason Benson f0e6c30a2d add Niall author tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@630972 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 19:58:02 +00:00
Matthew Jason Benson 2e3057caa8 [LANG-362] simplify ExtendedMessageFormat design; recycle as much of super implementation as possible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@630969 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 19:51:18 +00:00
Matthew Jason Benson 583c62281e [LANG-366] retract
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@630967 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 19:49:21 +00:00
Henri Yandell 68c6547d0c Applying Cedrik Lime's patch to LANG-413; improving the memory footprint of getLevenshteinDistance
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@630580 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 03:33:49 +00:00
Sebastian Bazley 5cbca4d5f5 LANG-410 - Ambiguous / confusing names in StringUtils replace* methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@627588 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 20:41:07 +00:00
Henri Yandell 1fe5439baf Applying my patch from LANG-412; fixing Peter Oxenham's report that the appendFixedWidthPadRight and appendFixedWidthPadLeft are not null safe if the nullText has not been set
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@627248 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 05:44:46 +00:00
Matthew Jason Benson 2e8e3f46ba sp again
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619157 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 21:24:46 +00:00
Gary D. Gregory 11fc6950e9 Format @since 2.4 methods to match the rest of the file. For example, expressions use no spaces around parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619143 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 20:21:57 +00:00
Gary D. Gregory 004d7b3e8f Simplify code paths where a statement is unnecessarily nested within an else clause. Also flip some if/else statements when tests can be expressed more clearly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619137 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 20:10:05 +00:00
Gary D. Gregory db456f2f89 Eat own dog food: Use EMPTY instead of "".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619115 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 19:27:10 +00:00
Sebastian Bazley fc734d1046 Correct spelling and punctuation in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619091 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 18:24:59 +00:00
Henri Yandell cced495fa6 Pointless having the version here given that it gets automatically put above it when building
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@619048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 16:15:34 +00:00
Henri Yandell 531e28e356 Added missing '@since 2.4' lines based on jardiff report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@618884 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 04:37:17 +00:00
Gary D. Gregory b0b8356b0b [LANG-407] StringUtils.length(String) returns null-safe length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@618882 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 04:32:56 +00:00
Sebastian Bazley 6dd93fc367 Remove extraneous exec properties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@618693 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 16:33:29 +00:00
Henri Yandell 16120b386c Applying my patch from LANG-379, based on Robert Scholte's patch adding the 'getFragment' family of methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@617360 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 07:12:56 +00:00
Henri Yandell 9fc5424a6e Fixing the expected exception so the test doesn't fail (see LANG-180)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@616173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 05:39:44 +00:00
Henri Yandell 3b7ca1d4a2 Applying my modified version of Chris Hyzer's patch from LANG-180 - adding a replaceEach(String, String[], String[]) and replaceRepeatedly(String, String[], String[]) pair of methods. The internal code to the private replaceEach method has not been fully reviewed yet - I wanted to get more eyes focused on the algorithm
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@616170 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 05:33:17 +00:00
Niall Pemberton 9681a37481 javadoc correction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@615244 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 15:21:08 +00:00
Niall Pemberton e266303c56 LANG-404 Add Calendar flavour format methods to DateFormatUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@615243 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 15:20:32 +00:00
Gary D. Gregory 680d605d3f Apply sebb's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612880 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 17:34:43 +00:00
Niall Pemberton 0dfc77769f update m1 & m2 builds
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612787 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 10:40:13 +00:00
Niall Pemberton 5cb16e839d Add missing license files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612786 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 10:37:38 +00:00
Henri Yandell 10658442a5 Applying my patch from LANG-298, based on Tomasz Blachowicz's original patch, and adds getPackageCanonicalName and getShortCanonicalName sets of methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612749 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 08:05:23 +00:00
Gary D. Gregory 57c6a6e832 Remove dependency on Java 1.4.2. Stick with Java 1.3.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612746 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 07:54:21 +00:00
Gary D. Gregory ee3839f5f4 Fix javadoc warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612656 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 00:31:27 +00:00
Henri Yandell 2a94f969ed Applying my patch from LANG-257, adding Cameron Whitehead's desired splitByWholeSeparatorPreserveAllTokens methods. In addition to the patch, I've added @since 2.4 tags to the javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612367 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 06:43:30 +00:00
Gary D. Gregory 77e9314410 Fix Javadoc copyright year once and for all.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612317 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 23:56:47 +00:00
Niall Pemberton c638996fe7 upgrade to commons-parent-7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612219 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 21:04:51 +00:00
Henri Yandell e199d381f8 Applying my patch from LANG-393; EqualsBuilder uses compareTo for BigDecimal and not equals
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@611543 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 07:00:22 +00:00
Matthew Jason Benson 97f1c120c0 [LANG-192] API improvements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@611528 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 03:46:28 +00:00
Matthew Jason Benson c739e01c68 add'l splitByCharacterType tests for single trailing characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@611290 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 20:26:02 +00:00
Matthew Jason Benson ea810cbbbd [LANG-192] addSplitByCharacterType and camelCase variant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@611288 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 20:13:02 +00:00
Henri Yandell 400f92899e Adding missing javadoc param
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610682 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 05:31:24 +00:00
Henri Yandell 34ad89c74d Deprecating add(Date, int, int) as there is no value in it being public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610670 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 04:44:55 +00:00
Henri Yandell 9878845801 Marking @since 2.4 on the new methods from LANG-383
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610669 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 04:42:51 +00:00
Henri Yandell 85dda0d25a Applying the Date.setXxx replacement methods that use Calendar as supplied by Travis Meisenheimer in LANG-383
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610668 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 04:41:22 +00:00
Sebastian Bazley d3e28b6802 LANG-399 - Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610452 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:53:06 +00:00
Henri Yandell 535546eb38 Updating copyright
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610295 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 07:53:01 +00:00
Niall Pemberton c6dc417722 Upgrade to commons-parent version 6 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@609497 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 03:15:46 +00:00
Henri Yandell ae5de9f2b0 Updating my email address
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@609476 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 00:01:25 +00:00
Henri Yandell bee5b923c5 Applying third patch from LANG-381. Fixes the minimum(float[]) type methods to correctly return NaN when it is in the array, and adds an IEEE754rUtils class that obeys the IEEE 754r update in which NaN in min/max methods should be ignored unless all values are NaN.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@609475 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 23:58:59 +00:00
Henri Yandell ea4ce16289 Applying my patch from LANG-374 that adds an unescape method. It stays true to the spec and considers "foo.bar" to unescape as "foo.bar", ie) no unescaping, because "foo.bar" is illegal output from the escape method spec-wise.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@609094 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 06:33:12 +00:00
Henri Yandell 87106839de Removing this as it is an unnecessary and not up to date file nowadays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@607173 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 05:30:57 +00:00
Henri Yandell 95a4b23729 Removing action items
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@607003 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 05:36:28 +00:00
Henri Yandell f237b96638 Updating the build instructions to fix Sebb's reported problems in LANG-385
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@606676 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 07:07:49 +00:00