Commit Graph

1804 Commits

Author SHA1 Message Date
Niall Pemberton 8e83403ba9 javadoc/checkstyle changes only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@634096 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 00:58:11 +00:00
Niall Pemberton 52a903c691 Restore JDK 1.3 compatibility (the MessageFormat(String, Locale) constructor was introduced in JDK 1.4)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@634092 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 00:26:24 +00:00
Niall Pemberton d86a278500 svn:keywords properties and missing license headers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@634088 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 00:06:05 +00:00
Niall Pemberton 65e3778b9e Remove failing test for unsupported sub-formats
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@633693 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 22:46:54 +00:00
Matthew Jason Benson efe31f5b60 javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@633659 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 21:41:26 +00:00
Matthew Jason Benson 39a6c14bd6 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@633621 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 20:20:23 +00:00
Niall Pemberton d6658cb3c6 Add Issue Tracking and Download pages generated by commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@632817 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:46:00 +00:00
Niall Pemberton 87854c040e Upgrade to commons-parent-8 and add configuration properties for OSGi (maven-bundle-plugin) and commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@632815 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:37:56 +00:00
Gary D. Gregory ee0405b407 Make formatting consistent across the file:
Replace "methodcall( expr )" with "methodcall(expr)".
Replace "type foo = (expr)" with "type foo = expr".
Replace "if(expr)" with "if (expr)"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@632503 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 00:21:52 +00:00
Matthew Jason Benson be5119c17d remove text describing passing a null value for a char parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@632061 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 17:15:55 +00:00
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