Commit Graph

2642 Commits

Author SHA1 Message Date
Henri Yandell ead7d965e7 Removing WordUtils.abbreviate as it's already found in StringUtils.abbreviate. This was identified in LANG-673
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1062328 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 05:32:46 +00:00
Henri Yandell 9c6d3ea78f Fixing javadoc for DateUtils.ceiling per LANG-672
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1062326 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 05:25:03 +00:00
Niall Pemberton 367e00e6ef fix malformed XML
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1060141 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 23:58:06 +00:00
Sebastian Bazley 3c10434631 Tab and trailing space removal
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1060137 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 23:46:03 +00:00
Henri Yandell 345b4836f6 Adding an OctalUnescaper to handle Java's support of 1->377 Octal values. LANG-646
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059753 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 05:33:33 +00:00
Henri Yandell 2270d830fd Adding first method check from Math's MathUtils.gcd method; and unit tests showing that this was needed. Bug reported and solved by Christian Semrau [LANG-662]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059749 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 04:30:05 +00:00
Henri Yandell 7e8d044b7b Adding note that this has overflow issues and pointing to BigFraction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059747 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 04:12:36 +00:00
Henri Yandell 151220646a Removing the pending directory; doesn't look likely to ever get used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059745 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 04:05:02 +00:00
Henri Yandell 1330e9dad7 Minor text changes; 'during 1.6 backcompat code' isn't meaningful
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059744 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 04:02:02 +00:00
Henri Yandell ad00f97f0b Adding Cedrik Lime's patch from LANG-285; adding unaccenting for Java 1.3->1.5 via reflection usage of Sun JVMs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059743 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 03:59:47 +00:00
Niall Pemberton 9e25b87af5 Port changes for the 2.6 release to the trunk
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1059696 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 22:36:05 +00:00
Niall Pemberton 9a78cd482e Use "Release Notes" in title and section heading
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1058351 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 23:31:50 +00:00
Niall Pemberton 249788d799 LANG-636 ExtendedMessageFormat doesn't override equals(Object)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057417 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 23:57:00 +00:00
Niall Pemberton 66e42dc8b4 LANG-670 Add notEqual() method to ObjectUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057410 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 23:10:16 +00:00
Niall Pemberton 8d24c1fc62 additional tests for normalizeSpace()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057386 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 21:49:53 +00:00
Niall Pemberton 9736947c80 fix checkstyle issues
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057365 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 21:14:23 +00:00
Sebastian Bazley b73e1f7615 Fix up Javadoc for unsupported methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057352 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:46:29 +00:00
Niall Pemberton b92907c109 LANG-667 Simplify compare() method - thanks to Julien Aymé
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1056520 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 21:24:12 +00:00
Joerg Schaible 11a6dd26e3 Fix javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1056248 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 10:37:25 +00:00
Niall Pemberton 78e2ebfd9c LANG-668 - change ObjectUtils min() & max() functions to use varargs rather than just two parameters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1056134 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:13:19 +00:00
Sebastian Bazley 26afc6228d Minor Javadoc clarification
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1056129 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:06:38 +00:00
Niall Pemberton f4f07d5ace LANG-667 Add a Null-safe compare() method to ObjectUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1056124 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 23:49:09 +00:00
Sebastian Bazley 4fb355a838 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1054728 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 20:08:46 +00:00
Henri Yandell 8e2f4ddb9a Fixing NumberUtils.isNumber so that 1.1L is not considered a number. LANG-664
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1054202 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:56:59 +00:00
Sebastian Bazley 7df70a8c6b LANG-658: Forgot to document fixes made in 1034794 and 1034798
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1050631 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 12:43:54 +00:00
Sebastian Bazley c02c326324 Best not to repeat misunderstanding in LANG-666 ...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1043653 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 20:14:24 +00:00
Sebastian Bazley 7e818c5afa Add a test for stripEnd
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1043652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 20:10:49 +00:00
Sebastian Bazley 5ad967885a LANG-666 Update Javadoc to make it clearer that the second parameter is the set of characters to remove
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1043651 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 20:08:19 +00:00
Henri Yandell bebf1a53f7 Moving away from testing with java.awt code because on OS X it kicks off a Java UI window, also causing Gump to fail when running headless. See: http://mail-archives.apache.org/mod_mbox/commons-dev/201011.mbox/%3C87lj4p1ekq.fsf@v35516.1blu.de%3E and its replies
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1040879 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 07:18:16 +00:00
Niall Pemberton e8138eafe7 BEANUTILS-381 getMatchingAccessibleMethod does not correctly handle inheritance and method overloading - thanks to Todd Nine for the patch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1037572 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 22:09:04 +00:00
Sebastian Bazley ea623e575e Revert bad update in r1034828; fix NPE warning a different way
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034904 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 23:16:49 +00:00
Sebastian Bazley 35ca6531ef Suppress deliberate raw types usage etc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034830 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 18:07:02 +00:00
Sebastian Bazley 5cc5694b0e Check for Null and avoid NPE warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034828 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 17:59:25 +00:00
Sebastian Bazley 5b76976ce8 Remove unthrown Exceptions
assertEquals(true|false => asserTrue|False

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034827 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 17:56:26 +00:00
Sebastian Bazley eb858c2208 Avoid raw type warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034823 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 17:49:00 +00:00
Sebastian Bazley 4fc28f2d3b Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034821 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 17:45:47 +00:00
Sebastian Bazley dd5f8ea307 LANG-658 Fix remaining entries
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034798 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:35:47 +00:00
Sebastian Bazley 44dbf85b6a Add tests to check for duplicate entries in the conversion tables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034797 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:31:08 +00:00
Sebastian Bazley c8c7a0c491 LANG-658 Fix ograve entry
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034794 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:17:12 +00:00
Sebastian Bazley a28a5c875f LANG-659 - EntityArrays typo: {"\u2122", "−"}, // minus sign, U+2212 ISOtech
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034784 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 15:54:30 +00:00
Henri Yandell 2658d6911f Minor tweak to javadoc to improve clarity
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1033113 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 17:35:47 +00:00
Gary D. Gregory c5710ced50 [LANG-656] Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1032596 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 15:18:19 +00:00
Henri Yandell 80a39fba9b Fixing the javadoc for indexOfAnyBut(CharSequence, char[]) per Dirk Starke's report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1032220 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 07:15:00 +00:00
Matthew Jason Benson 71de1b3e14 use [] for array delimiters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1031247 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:05:48 +00:00
Henri Yandell 6f0dc1070c Adding StringUtils.defaultIfBlank(String, String). Requested by Adam Dyga, patch from Nicklas Holm. LANG-655
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1030830 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 04:05:57 +00:00
Oliver Heger 88bb2bf846 [LANG-653] Updated release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026487 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:33:12 +00:00
Oliver Heger b2359c470e [LANG-653] Updated user guide
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026486 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:32:46 +00:00
Oliver Heger d0b2b05af5 [LANG-653] Added ConstantInitializer class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026485 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:32:09 +00:00
Gary D. Gregory 6d992c02da Organize imports only.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1022749 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 22:49:55 +00:00
Henri Yandell cccbf94e72 Changing the StringBuilder to build around an empty String and not null, as null will cause an NPE. Reported by FindBugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006333 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 18:34:48 +00:00