2765 Commits

Author SHA1 Message Date
Henri Yandell
e03c097d1c Adding more tests to Pair
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065236 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 09:04:51 +00:00
Henri Yandell
03cf8fd714 Scratch that, compiler disagrees (aka, I'm wrong)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065235 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 09:01:17 +00:00
Henri Yandell
bd7b736643 Removed unnecessary lines (options are already null by default)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065233 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:50:51 +00:00
Henri Yandell
c2ff15b0d0 Adding testing for Java 1.8, confirming that 1.9 is not there to test the null handling and confirming that the wrapper method works
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065232 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:48:26 +00:00
Henri Yandell
8ae1df8b87 Adding a Java 1.8 as that is talked of nowadays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065231 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:48:16 +00:00
Henri Yandell
f0df931ba0 Fixing @params
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065230 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:47:38 +00:00
Henri Yandell
6e6bc18c9f Removed todo note as the ceiling tests are in DateUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065229 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:45:13 +00:00
Henri Yandell
8a7c77060e Rename the parameter everywhere instead of just the method declaration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065224 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:15:38 +00:00
Henri Yandell
bc5f3e087a Added javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065220 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:08:42 +00:00
Henri Yandell
5ea88e0d6d Removing TODO; a regex translator didn't prove to be very quick iirc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065217 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:03:17 +00:00
Henri Yandell
8878c98bbd rollback unintended change to pom version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065216 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:02:10 +00:00
Henri Yandell
a95465d709 Implemented TODO to protect unescaper from ArrayIndexOutOfBounds
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065215 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:01:19 +00:00
Henri Yandell
51bf2ce1c0 Adding unit test for JavaVersion
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065212 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 07:54:29 +00:00
Henri Yandell
db06926828 Added {} to if
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065210 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 07:40:24 +00:00
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
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