Henri Yandell
|
2bed62603d
|
Adding javadoc for HTML3 methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065209 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 07:38:36 +00:00 |
Henri Yandell
|
204d18f903
|
Breaking long lines
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065208 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 07:36:18 +00:00 |
Henri Yandell
|
bf42bd5d14
|
Adding javadoc for public method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065207 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 07:35:35 +00:00 |
Henri Yandell
|
0e61e227bc
|
Updating javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065205 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 07:30:58 +00:00 |
Henri Yandell
|
209b28c49a
|
Fixing infinite recursion. Thankyou FindBugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065198 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 06:45:12 +00:00 |
Henri Yandell
|
1d80314fc2
|
Removing unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065197 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 06:43:53 +00:00 |
Henri Yandell
|
b7a7b7d870
|
Removing unused variable and unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065196 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 06:43:22 +00:00 |
Henri Yandell
|
9ae054b7c8
|
Removed isJavaVersionAtLeast(float) and (int), and added an enum variant with the new JavaVersion enum. Updated the rest of the code, switched isJavaVersionAtLeast over to using java.specification.version and not java.version (the vendor code) and dropped JAVA_VERSION_TRIMMED, JAVA_VERSION_FLOAT and JAVA_VERSION_INT. See: LANG-624
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065174 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-30 03:48:40 +00:00 |
Henri Yandell
|
2be456f665
|
Removing the 'will fail on JDK 1.6' as we now have a pre 1.6 implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1062493 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-23 18:41:46 +00:00 |
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
|
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
|
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 |
Oliver Heger
|
039f4566a9
|
[LANG-609] Updated user guide to cover AtomicSafeInitializer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006174 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-09 15:22:50 +00:00 |
Oliver Heger
|
fda34fa818
|
[LANG-609] Added AtomicSafeInitializer class. Thanks to alexander dot apanasovich at gmail dot com for the proposal.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006172 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-09 14:56:18 +00:00 |
Oliver Heger
|
c34f334c12
|
[lang-482] Updated release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005978 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-08 19:22:53 +00:00 |
Oliver Heger
|
6f6eddbf3a
|
[lang-482] Added support for substitution in variable names.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005974 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-08 19:17:31 +00:00 |
Niall Pemberton
|
460f6fcc15
|
COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-06 16:38:08 +00:00 |
Oliver Heger
|
802ebc4279
|
Removed my author tag, typo, trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1003851 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-02 18:37:50 +00:00 |
Matthew Jason Benson
|
d263c80808
|
Make ObjectUtils.defaultIfNull generic
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1002368 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-28 21:52:32 +00:00 |
Oliver Heger
|
5b25355eb9
|
[lang-644] Add documentation for the new concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1000166 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-22 20:08:02 +00:00 |
Matthew Jason Benson
|
4a6bde09a6
|
move private method to end
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999539 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-21 18:48:53 +00:00 |
Matthew Jason Benson
|
bbdc0722a8
|
use builder APIs for AnnotationUtils.toString()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999538 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-21 18:46:54 +00:00 |
Matthew Jason Benson
|
b1d5cfe08e
|
and add one last, even more complex, test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999453 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-21 15:02:03 +00:00 |
Matthew Jason Benson
|
2bf76ada44
|
add a meatier test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999450 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-21 14:57:34 +00:00 |
Matthew Jason Benson
|
4c0f8dba50
|
add hashCode and toString methods to AnnotationUtils, plus tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999169 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-21 00:27:40 +00:00 |
Henri Yandell
|
8c19964d55
|
Per LANG-629, making the underlying set synchronized for CharSet
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@998000 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-17 07:18:03 +00:00 |
Henri Yandell
|
4870fd13a2
|
Adding Shashi Kant Sharma's implementation of endsWithAny - LANG-614
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@997979 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-17 05:10:27 +00:00 |
Matthew Jason Benson
|
fc3a096305
|
add reverse equality test assertions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996711 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:20:03 +00:00 |
Matthew Jason Benson
|
857cf0714d
|
fix testBothArgsNull equivalence test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996710 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:16:47 +00:00 |
Matthew Jason Benson
|
4141411e3a
|
unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996706 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:13:15 +00:00 |
Matthew Jason Benson
|
973b9b2e5b
|
verify that a user-generated annotation which does not directly implement equals() nevertheless compares equivalently to a 'real' annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996705 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:12:35 +00:00 |
Matthew Jason Benson
|
5615bbb7ad
|
revert previous change with unintentional reformatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996704 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:09:54 +00:00 |
Matthew Jason Benson
|
da9ebdf72a
|
verify that a user-generated annotation which does not directly implement equals() nevertheless compares equivalently to a 'real' annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996701 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 22:03:12 +00:00 |
Matthew Jason Benson
|
83efbc505b
|
AnnotationUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996695 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 21:38:02 +00:00 |
Matthew Jason Benson
|
4d6acd80b6
|
unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996691 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 21:14:15 +00:00 |
Henri Yandell
|
077df4205a
|
Adding t/f and y/n options to toBooleanObject(String). LANG-649
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996421 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 05:36:39 +00:00 |
Sebastian Bazley
|
5c9ffd1d9b
|
Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@994971 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-08 10:16:17 +00:00 |
Henri Yandell
|
14a0cc2a9b
|
Applying my fix to LANG-645, and Mikael's test case; fixing the FastDateFormat to properly include the locale when formatting a Date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@993620 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-08 06:09:57 +00:00 |
Henri Yandell
|
f7f19a3d2f
|
Adding Ulrich + Tomas' patch to LANG-596 adding a replace(String, Properties) variant to StrSubstitutor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@990671 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-29 22:53:42 +00:00 |
Henri Yandell
|
1db9c37e95
|
Removing the 'must be zero or positive' per Volker's comment on LANG-643
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@990663 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-29 22:37:52 +00:00 |
Matthew Jason Benson
|
c544542bda
|
tweak
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989812 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-26 16:36:35 +00:00 |
Matthew Jason Benson
|
ed894291a7
|
explain why it is safe to suppress the cast warning on SerializationUtils.clone()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989390 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 22:22:55 +00:00 |
Henri Yandell
|
782e48d8e0
|
Fixing javadoc per LANG-643 to indicate an empty String is returned for negative length and not a thrown exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989329 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 19:59:41 +00:00 |
Henri Yandell
|
80057a6f04
|
Per discussion on StackOverflow: http://stackoverflow.com/questions/3282498/how-can-i-detect-a-unix-like-os-in-java src/main/java/org/apache/commons/lang3/SystemUtils.java - changing the javadoc to say 'UNIX like' rather than POSIX as some of the listed UNIX like operating systems are not POSIX compatible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989223 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 17:02:41 +00:00 |
Matthew Jason Benson
|
c3e3feeaa1
|
make SerializationUtils.clone() type-safe
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989199 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 16:15:44 +00:00 |
Matthew Jason Benson
|
52bea417c5
|
suppress warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989169 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 15:27:41 +00:00 |
Henri Yandell
|
f76a32ff88
|
Removing the CharSequenceUtils.length method in favour of the StringUtils.length method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987957 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-22 22:57:51 +00:00 |
Oliver Heger
|
ee707ddb02
|
Added a new isSuccessful() method to the result object of MultiBackgroundInitializer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987621 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-20 20:01:10 +00:00 |
Oliver Heger
|
2e4aecf0d0
|
Switched to JUnit 4 style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987615 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-20 19:51:23 +00:00 |
Matthew Jason Benson
|
c665dd600a
|
sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987337 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 22:27:54 +00:00 |
Matthew Jason Benson
|
fdcb892708
|
allow subclass custom invocation handling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987336 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 22:27:05 +00:00 |
Matthew Jason Benson
|
be6641bd99
|
add serialization support to EventListenerSupport
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987326 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 21:49:53 +00:00 |
Matthew Jason Benson
|
d2a3a2b1c6
|
provide read access to the registered listener instances
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@986954 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-18 21:28:05 +00:00 |
Joerg Schaible
|
711337c3a9
|
set @since
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@984657 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-12 06:55:49 +00:00 |
Joerg Schaible
|
37dba589f7
|
Fix wrong cast.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@984655 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-12 06:47:43 +00:00 |
James W. Carman
|
8904051249
|
Reverting "generification" of toMap() method in ArrayUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983933 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-10 11:31:38 +00:00 |
Sebastian Bazley
|
197354dafb
|
Comment why OK to suppress the warning
Remove unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983903 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-10 09:43:33 +00:00 |
Matthew Jason Benson
|
441671d365
|
throw IllegalStateException as documented from validState()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983711 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 16:22:55 +00:00 |
Matthew Jason Benson
|
e51c8d6cfb
|
move/comment SuppressWarnings(unchecked)/refactor surrounding code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983709 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 16:20:54 +00:00 |
Sebastian Bazley
|
2f66e0fdf8
|
Minimise scope of @SuppressWarnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983569 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 10:04:51 +00:00 |
Sebastian Bazley
|
2c0e67621a
|
Eliminate unchecked cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983568 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 09:57:51 +00:00 |
Sebastian Bazley
|
4b4ceaca41
|
DateUtils.parseDate requires String[]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983515 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:20:30 +00:00 |
Sebastian Bazley
|
55a3c67672
|
MethodUtils.invoke[Static]Method require Object[] arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983514 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:15:12 +00:00 |
Sebastian Bazley
|
62c9043f9c
|
ConstructorUtils.invokeExactConstructor and ConstructorUtils.invokeConstructor require Object[] arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983513 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:12:06 +00:00 |
Sebastian Bazley
|
0aeeb4b7ac
|
Remove spurious import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983512 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:05:13 +00:00 |
Sebastian Bazley
|
d42c22929d
|
Remove non-array version of test as it does not work.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983511 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:03:06 +00:00 |
Sebastian Bazley
|
f55d14f871
|
StringUtils.concat requires Object... not String...
Add varargs version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983510 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:00:58 +00:00 |
James W. Carman
|
c62105153e
|
Adding back in tests for deprecated methods. When the methods are removed, we'll remove the tests. Added in annotation to ignore usage of deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983482 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-08 21:07:59 +00:00 |
James W. Carman
|
a848b0f3fe
|
Some code clean-up. Removing unnecessary boxing, array creation for varargs, etc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983219 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-07 12:04:46 +00:00 |
James W. Carman
|
71fa772219
|
Reverting change that removed "superfluous" type argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983218 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-07 12:02:15 +00:00 |
James W. Carman
|
535d85c75b
|
Removing some unnecessary boxing/casting/generics params
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983141 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:58:03 +00:00 |
James W. Carman
|
b4cf0a72d6
|
Generifying toMap() method (adding in possibility for type inference on return type).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983140 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:55:48 +00:00 |
James W. Carman
|
e7f8d9bbfb
|
Generifying toMap() method (adding in possibility for type inference on return type).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983137 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:44:38 +00:00 |
James W. Carman
|
823f2603a4
|
LANG-640: Add normalizeSpace to StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@982844 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 01:08:57 +00:00 |
Henri Yandell
|
50c1fdecb4
|
Making it so that NumberUtils.createNumber throws a NumberFormatException instead of a StringIndexOutOfBoundsException when Strings such as 1eE are passed in. Thanks to Ingo Heinrich's report and patch in LANG-638
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981736 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-03 04:41:04 +00:00 |
Henri Yandell
|
bbcba273ad
|
Fixing url to 3.0-beta javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981384 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 06:56:53 +00:00 |
Henri Yandell
|
dae053c8c3
|
Slight text change to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981380 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 06:46:10 +00:00 |
Henri Yandell
|
64fe3c71ef
|
Added a 2nd download option. I've had to manually modify the output so it doesn't think the 2.5 version is called lang3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981351 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 01:05:06 +00:00 |
Matthew Jason Benson
|
678c9e52b7
|
javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980926 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-30 19:05:15 +00:00 |
Matthew Jason Benson
|
3244c46fe9
|
use static method for brevity, avoiding type params
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980923 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-30 18:59:09 +00:00 |
Matthew Jason Benson
|
3296f58f71
|
use 1.5 method for determining inner class-ness; null safety is really the only remaining advantage of #isInnerClass. This goes nicely with r919340
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980562 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-29 20:22:58 +00:00 |
Matthew Jason Benson
|
b74e64b211
|
add methods for inspecting array types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980557 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-29 20:21:10 +00:00 |
Matthew Jason Benson
|
5bfa8550e8
|
s/if (foo) { return true; } return false;/return foo;/g
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980201 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-28 20:40:16 +00:00 |
Matthew Jason Benson
|
c6ba216574
|
missing svn keywords and @version: $ tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979392 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-26 18:09:52 +00:00 |
Henri Yandell
|
c9c9af98d8
|
tabs to whitespace
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979179 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-26 06:43:31 +00:00 |
Henri Yandell
|
6db113f1c9
|
Adding a note for Maven users
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979178 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-26 06:40:49 +00:00 |
Henri Yandell
|
37aafec262
|
Small text change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979170 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-26 06:28:31 +00:00 |
James W. Carman
|
9a40cd0194
|
LANG-580: Add Event Support Utilities
Applying documentation patch "commons-lang-event-support-docs.patch" from Michael Wooten.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@978864 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-24 12:49:38 +00:00 |
Matthew Jason Benson
|
b1ba66c46e
|
missing svn keywords and @version: $ tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967237 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 20:08:57 +00:00 |
Matthew Jason Benson
|
34a5505cf7
|
unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967229 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 19:48:29 +00:00 |
Henri Yandell
|
415064acb0
|
Minor tweak, mention 3.0 is Java 5.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967218 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 19:29:37 +00:00 |
Henri Yandell
|
5ada92406b
|
Updating the data in the 3.0 changelog. Needs a bit more; i.e. reword/delete JIRA issues that make no sense, remove the WONTFIXes, merge the subtasks, tasks and wishes into enhancement/new feature. Comment on deprecateds going away.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967191 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 18:33:10 +00:00 |
Henri Yandell
|
b4dbd49f55
|
Adding a placeholder for the 3.0 changelog
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967182 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 18:02:35 +00:00 |
Henri Yandell
|
dec41e7510
|
Upgrading the front page for 3.0 beta. Note that the 3.0 draft changelog needs creating
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967180 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-23 17:51:08 +00:00 |
James W. Carman
|
ef2a37a3ba
|
Adding test cases for null checks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966821 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:40:20 +00:00 |
James W. Carman
|
6967edc80c
|
Using CopyOnWriteArrayList for thread safety.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966818 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:31:48 +00:00 |
James W. Carman
|
973bdd708b
|
Improving javadoc documentation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966812 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:18:10 +00:00 |
James W. Carman
|
4ef2bc32fc
|
Adding a package.html file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966809 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:11:12 +00:00 |
James W. Carman
|
c3b4a3d362
|
Improving error checking logic and adding test cases to verify.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966807 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:09:18 +00:00 |
James W. Carman
|
a43c5746fc
|
Backing out LANG-580
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966806 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 19:08:59 +00:00 |
James W. Carman
|
4f2cfd7a78
|
Removing ReflectiveEventSupport per author's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966769 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 17:42:17 +00:00 |
Matthew Jason Benson
|
91a90af767
|
compiler/generics warnings & a typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966711 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 15:45:49 +00:00 |
Henri Yandell
|
b3eb0bfedb
|
Adding findbugs-exclude-filter.xml to the source archives
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966707 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 15:25:44 +00:00 |
James W. Carman
|
dc30f9c0e4
|
Fixing javadoc example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966645 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 13:32:00 +00:00 |
James W. Carman
|
d8547e9de1
|
Improving test coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966644 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-22 13:30:28 +00:00 |