Henri Yandell
d486ed9323
Dropping the serialVersionUID from EventListenerSupport per LANG-765
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225109 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 06:27:47 +00:00
Henri Yandell
bec8377596
Fixing the StringUtils.split javadoc per Samurel Tardieu in LANG-783
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225104 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:58:31 +00:00
Sebastian Bazley
cf6c0e72ba
Fix various boxing errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1206700 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 11:39:35 +00:00
Sebastian Bazley
a5420133ac
Suppress "already instanceof" warning because that is what we want to check
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1206697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 11:05:57 +00:00
Henri Yandell
b4011cf021
Adding Henning's GitHub pull request with a Triple implementation. LANG-675
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1205734 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 06:20:59 +00:00
Sebastian Bazley
7b56dd17b7
Ensure version does not get out of date
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1204994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 13:53:22 +00:00
Matthew Jason Benson
c71d0f03da
[LANG-775] [LANG-776] fix related bugs dealing with type variable inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203429 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:59:36 +00:00
Matthew Jason Benson
e6a1d017b1
[LANG-775] add failing test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203427 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:58:31 +00:00
Matthew Jason Benson
d487814aba
[LANG-776] reverse bad assertion to make failing test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203426 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:56:21 +00:00
Matthew Jason Benson
679090a612
original tests contained one message WRONG which seems to indicate a problem area in the code; elaborating message
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203312 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 18:26:55 +00:00
Sebastian Bazley
3bb1629e97
Add Commons LANG 2.6 downloads
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202753 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:59:07 +00:00
Gary D. Gregory
c3aef5c3d2
Fix typos: threadsafe -> thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202710 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 13:50:36 +00:00
Sebastian Bazley
d534206f65
LANG-773 ImmutablePair doc contains nonsense text
...
Clarify comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202706 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 13:44:05 +00:00
Sebastian Bazley
7b7965bf46
LANG-772 ClassUtils.PACKAGE_SEPARATOR javadoc contains garbage text
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202521 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 03:14:26 +00:00
Henri Yandell
4f0e19fc5f
Remove version # from LHS nav
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202369 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 18:40:52 +00:00
Henri Yandell
1887ccff5c
Adding 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202288 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 16:37:29 +00:00
Henri Yandell
db02269fe1
Setting release date for 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202079 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 07:35:50 +00:00
Henri Yandell
ad8168d628
Adding link to GitHub mirror
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1201034 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 19:38:20 +00:00
Gary D. Gregory
ff010a98f1
[LANG-762] Handle or document ReflectionToStringBuilder and ToStringBuilder for collections that are not thread safe. Better Javadocs. See Phil's comments in the Jira.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1200177 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 06:14:33 +00:00
Gary D. Gregory
fa35d13c66
Turn off long-running test for now.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1200096 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 02:07:43 +00:00
Gary D. Gregory
1460653475
Use Collection.isEmpty() instead of size() == 0
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199983 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 21:41:24 +00:00
Gary D. Gregory
371e866442
Remove superfluous parens like:
...
return (foo + 1);
int len = (foo + 1);
if ((foo + 1 > 2))
((String) foo)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199894 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:53:59 +00:00
Gary D. Gregory
725ca33769
Use blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199893 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:42:00 +00:00
Gary D. Gregory
57251859b6
Eat own dog food:
...
separator == null ? "" : separator
->
ObjectUtils.toString(separator)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199888 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:35:01 +00:00
Henri Yandell
85b07d539b
Copying current rel notes into site
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199887 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:32:52 +00:00
Gary D. Gregory
1c74cc0565
Remove superfluous parens.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199882 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:25:09 +00:00
Henri Yandell
a8485376b1
Changing planned version from 3.0.2 to 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199820 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:14:52 +00:00
Henri Yandell
163731256b
Changing @since 3.0.2 to @since 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199816 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:11:34 +00:00
Gary D. Gregory
3ca916f3e4
Use Java 5 LinkedList API, not Java 6. Note that removeFirstOccurrence(Object) delegates to remove(Object) in Java 6.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199798 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:32:12 +00:00
Gary D. Gregory
67d4ef2e92
[LANG-762] Handle or document ReflectionToStringBuilder and ToStringBuilder for collections that are not thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199790 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:13:05 +00:00
Gary D. Gregory
6ef8d3247b
@version $Id$
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199789 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:10:20 +00:00
Gary D. Gregory
a21b3cc000
@version $Id$
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199788 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:10:00 +00:00
Gary D. Gregory
baa994c627
[LANG-762] Handle or document ReflectionToStringBuilder and ToStringBuilder for collections that are not thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199786 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 15:07:16 +00:00
Gary D. Gregory
44cd641b4e
[LANG-762] Handle or document ReflectionToStringBuilder and ToStringBuilder for collections that are not thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199773 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:34:43 +00:00
Sebastian Bazley
7b3e823ede
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199735 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:11:07 +00:00
Sebastian Bazley
9690bfde6a
Unnecessary semi-colons
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199730 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:00:47 +00:00
Sebastian Bazley
bcc848ffc0
Unnecessary Integer creation; actually wants long
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199726 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 12:59:24 +00:00
Sebastian Bazley
f4b810ba42
Avoid boolean boxing in asserts where possible
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199724 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 12:51:52 +00:00
Sebastian Bazley
40e4babd35
Suppress generic warning
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 12:43:20 +00:00
Henri Yandell
6fa98368a8
Upgrading version numbers to 3.0.2
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199613 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 04:29:01 +00:00
Henri Yandell
7de0293ac9
Updating changes report per 3.0.2 issues in JIRA
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199610 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 04:22:21 +00:00
Henri Yandell
9bb3361616
Dropping comparators for next release (LANG-532)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199609 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 04:12:18 +00:00
Gary D. Gregory
22861326c2
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185712 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:11:02 +00:00
Gary D. Gregory
6105336638
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185710 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:07:07 +00:00
Gary D. Gregory
cfc3d1fb1e
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185708 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:05:50 +00:00
Gary D. Gregory
ccc01ec371
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185707 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:01:49 +00:00
Gary D. Gregory
9506bec96f
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185705 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:59:56 +00:00
Gary D. Gregory
1b2fa6a727
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185704 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:56:56 +00:00
Gary D. Gregory
c800d51a69
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185703 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:55:38 +00:00
Gary D. Gregory
fa1c89f7e1
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185702 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:53:59 +00:00
Gary D. Gregory
d9ad78065d
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185700 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:52:55 +00:00
Gary D. Gregory
6e9a3888a6
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185699 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:51:31 +00:00
Gary D. Gregory
f4223f93e4
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185697 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:50:15 +00:00
Gary D. Gregory
d0ea299cdf
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185695 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:47:48 +00:00
Gary D. Gregory
41e61322d6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183484 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 20:12:49 +00:00
Gary D. Gregory
d454e564c1
Javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183477 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 20:03:54 +00:00
Gary D. Gregory
00a102e828
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183474 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 19:48:03 +00:00
Gary D. Gregory
7d00a80c97
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183473 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 19:46:16 +00:00
Gary D. Gregory
16c3a32975
[LANG-759] Add Support in SystemUtils for Windows Server 2003 and Windows Server 2008.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1180197 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 20:12:48 +00:00
Sebastian Bazley
5244e89e73
LANG-744 Use IOD for stripAccent init
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1178626 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:04:54 +00:00
Henri Yandell
c103730424
Adding additional example for whitespace per Bruno's patch in LANG-758
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1177171 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 05:56:45 +00:00
Gary D. Gregory
4e2882b6c3
[LANG-756] Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and isPrimitiveOrWrapper(Class<?>)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1174469 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 00:47:45 +00:00
Gary D. Gregory
74480a2362
Convert to Java 5 enhanced for loops.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1169521 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 20:10:58 +00:00
Henri Yandell
765e4ff843
Making this package private as it lacks any public API value at the present
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167674 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:49:13 +00:00
Henri Yandell
8819b52ba1
Making ComparatorChain implement Iterable. Including test and package private copy of Collections' UnmodifiableIterator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167673 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:47:33 +00:00
Henri Yandell
2fcc80e71f
Simplifying ComparatorChain version from the version taken from Commons Collections. The ability to modify the comparator list, and the ability to reverse items (rather than simply wrapping in ReverseComparator) was complexity inducing. Also added a unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167671 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:07:14 +00:00
Henri Yandell
dc3bef79c8
Adding test for equals
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167669 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:06:14 +00:00
Sebastian Bazley
1db449142a
LANG-752 Fix createLong() so it behaves like createInteger()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166820 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 17:30:04 +00:00
Sebastian Bazley
0ee2a1ec2c
LANG-744 StringUtils throws java.security.AccessControlException on Google App Engine
...
Display both Java6 and Sun exceptions when neither is available for stripAccents
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166786 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 16:37:26 +00:00
Gary D. Gregory
603d818735
[LANG-751] Include the actual type in the Validate.isInstance and isAssignableFrom exception messages.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166685 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 13:41:05 +00:00
Gary D. Gregory
960b9a6cf7
Remove dead space.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166371 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:09:25 +00:00
Gary D. Gregory
613e988c80
Revert changes from r1166233: [LANG-750] Add MethodUtil APIs to call methods without parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166253 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 16:27:42 +00:00
Gary D. Gregory
6a82ecae17
[LANG-750] Add MethodUtil APIs to call methods without parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166233 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:39:45 +00:00
Gary D. Gregory
1a37d98e3b
Convert to JUnit 4 from 3.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166221 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:18:43 +00:00
Gary D. Gregory
9ed740b8bf
Convert to JUnit 4 from 3.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166220 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:18:06 +00:00
Sebastian Bazley
8b9dba5315
LANG-744 StringUtils throws java.security.AccessControlException on Google App Engine
...
Change static code to catch and save Exception; only report failure if no method is available
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165701 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 15:16:47 +00:00
Gary D. Gregory
2c3cc60001
Changes for [parent] 22-SNAPSHOT.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165645 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 12:46:39 +00:00
Gary D. Gregory
507ae723e3
Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164305 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:10:32 +00:00
Gary D. Gregory
f46c6726da
Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164304 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:09:49 +00:00
Henri Yandell
2998309d72
Adding a System.err when a security manager stops JDK 1.5 from being able to access the Sun Normalizer class. LANG-744
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1163906 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 05:17:32 +00:00
Sebastian Bazley
fafb1135a1
Clarify deprecation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1163586 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 11:41:10 +00:00
Henri Yandell
087067d581
Removing most of the ComparatorUtils code. Need to figure out how to get rid of the last attribute.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1162021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 08:22:00 +00:00
Henri Yandell
a41bf2aa2e
Adding javadoc for the type
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1162020 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 08:19:53 +00:00
Henri Yandell
6cf48caa26
Deprecating chomp(String, String) per Verneri Åberg's report in LANG-748
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161997 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 05:19:00 +00:00
Henri Yandell
2e30bec7af
Rolling back r1161378. NullComparator and ReverseComparator need the NATURAL_COMPARATOR field and the ComparableComparator.INSTANCE field is not a straight replacement
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161605 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 15:27:39 +00:00
Henri Yandell
7eb4f39699
Removing ComparatorUtils. I don't think min/max(Obj,Obj,Comparator) are the most useful methods, and I'm not sure we need the static factory methods to instantiate the comparators.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 04:29:29 +00:00
Sebastian Bazley
41326bf526
LANG-746 NumberUtils does not handle upper-case hex: 0X and -0X
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160660 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:32:52 +00:00
Sebastian Bazley
c98fbe27b2
Avoid boxing of both arguments
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160647 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:17:26 +00:00
Henri Yandell
90e280bced
Adding current 3.0.2 items
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160581 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 08:23:12 +00:00
Henri Yandell
b948627d91
Adding documentation that the Mutable numbers don't work as might be expected with String.format. LANG-698
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160571 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 07:36:08 +00:00
Henri Yandell
7636080403
Adding an exception to catch AccessControlExceptions in Google App Engine as reported by Clément Denis in LANG-744
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160568 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 07:05:46 +00:00
Henri Yandell
e234e7d341
Adding FreeBSD, NetBSD and OpenBSD per Oliver's suggestion in LANG-695
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160564 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 06:56:42 +00:00
Henri Yandell
c7d0111a2a
Filling out ReverseComparator testing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160015 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 17:26:36 +00:00
Henri Yandell
07f1732b2f
Adding a basic ComparableComparator test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159030 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 04:36:12 +00:00
Henri Yandell
f4ebe14c5f
Dropped @author notes, moved individuals to the pom.xml contributor list
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159028 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 04:27:57 +00:00
Henri Yandell
8e57642b79
Adding a basic FixedOrderComparatorTest
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159026 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 04:24:57 +00:00
Henri Yandell
4fd7625f4b
Adding a basic ReverseComparatorTest
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159024 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 04:20:40 +00:00
Henri Yandell
0eaabc4315
Adding a basic NullComparatorTest
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159023 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 04:13:48 +00:00
Henri Yandell
4335b4067d
Removing collections tests - far too complex a system for the comparators' needs. Will rewrite as standalone test classes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1159018 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 03:59:16 +00:00
Gary D. Gregory
76416c0ad8
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1158284 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:11:31 +00:00
Gary D. Gregory
866705e3c6
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1158282 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:09:15 +00:00
Gary D. Gregory
4c2f18af7f
[LANG-736] CharUtils static final array CHAR_STRING is not needed to compute CHAR_STRING_ARRAY.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1158279 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:06:45 +00:00
Gary D. Gregory
1493ab204f
Port to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1158278 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:04:52 +00:00
Sebastian Bazley
11425c7892
Replace non-ASCII hyphen with ASCII version
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1157551 13f79535-47bb-0310-9956-ffa450edef68
2011-08-14 15:35:16 +00:00
Henri Yandell
6f417859b7
Formatting the Maven xml block
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 05:11:15 +00:00
Henri Yandell
f3ff37b4de
More updates to the front page
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156026 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:52:59 +00:00
Henri Yandell
f55832f51f
Adding 3.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156024 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:44:14 +00:00
Henri Yandell
9972bc15ea
Setting release date
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156022 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:42:10 +00:00
Henri Yandell
8b7f1e5c99
Missed 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:40:48 +00:00
Henri Yandell
92cd620d4b
Upgrading version in site.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156020 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:39:35 +00:00
Henri Yandell
2b0a81b899
Adding 2.x release notes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156018 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:04:22 +00:00
Henri Yandell
03bcf46acd
Linking in release notes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156017 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:02:34 +00:00
Henri Yandell
a644b32010
More release notes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156016 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 04:01:38 +00:00
Henri Yandell
c600bccaeb
Adding the 3.0.1 release notes as text. Managing a copy in HTML is a real pain in the arse, especially as it primarily duplicates changes.xml. Instead I'm going to build a dir with all the release notes we've had
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156015 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 03:58:11 +00:00
Henri Yandell
5716bf685b
Improving the text to work with our having released more than one 3.x version
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1156014 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 03:56:45 +00:00
Sebastian Bazley
f59609bb4d
eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1155421 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 16:13:53 +00:00
Henri Yandell
64003a07a7
Updating site to 3.0.1. Realizing that I'll have some fun keeping the compare/ package out of the site upon 3.0.1 release :)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154847 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:49:27 +00:00
Henri Yandell
b0e216a208
Fixing package names and adding excludes to the pom.xml for the parts of the collections framework that followed over
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154844 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:26:12 +00:00
Henri Yandell
2093b8da08
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154842 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:20:03 +00:00
Henri Yandell
f971e82651
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154841 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:59 +00:00
Henri Yandell
4d0f6ab3f0
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154840 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:56 +00:00
Henri Yandell
12c7493a52
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154839 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:54 +00:00
Henri Yandell
c66005b91f
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154838 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:51 +00:00
Henri Yandell
359d7d225e
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154837 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:19:01 +00:00
Henri Yandell
0597723492
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154836 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:18:36 +00:00
Henri Yandell
f32ee938f3
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154835 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:18:14 +00:00
Henri Yandell
9c96f2a222
Fixing package names so things compile. Removing Boolean and Transform usages in ComparatorUtils as those classes didn't come accross
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154833 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:15:51 +00:00
Henri Yandell
6f279ce78b
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154832 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:36 +00:00
Henri Yandell
cebecbbca8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154831 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:26 +00:00
Henri Yandell
2276b288b8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154830 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:11:16 +00:00
Henri Yandell
c405a2bac5
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154829 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:59 +00:00
Henri Yandell
c409d49153
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154828 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:47 +00:00
Henri Yandell
8650ed30a0
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154827 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:33 +00:00
Henri Yandell
8fb580f1a8
Copying from Collections to Lang
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154826 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:10:00 +00:00
Henri Yandell
c80a3d41d7
Generating a txt file as well as the xml for the changes report
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154814 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 04:07:20 +00:00
Joerg Schaible
ef346b48b2
Ignore assertions for IBM JDK 1.6.0 in ToStringBuilderTest.testReflectionHierarchyArrayList because the test makes assumptions on the internal representation of an ArrayList (LANG-727).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154530 13f79535-47bb-0310-9956-ffa450edef68
2011-08-06 15:43:07 +00:00
Matthew Jason Benson
31bd69942f
junit4ify ToStringBuilderTest + some generics-related fixup
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154217 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 13:58:52 +00:00
Matthew Jason Benson
391375b08a
missing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154216 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 13:57:16 +00:00
Henri Yandell
18c02cbd9b
Adding a '.' to the end of every <action>. This fits the subsequent addition of 'Fixes' in the generated report
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1154113 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:58:55 +00:00
Gary D. Gregory
e6e215d960
[LANG-738] Use internal Java's Number caches instead creating new objects
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153491 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:55:53 +00:00
Gary D. Gregory
f5026c122d
Use internal Java's Number caches instead creating new objects:
...
- Use more efficient Integer cache: Use "Integer.valueOf(int)" instead of "new Integer(int)".
- Use more efficient Long cache: Use "Long.valueOf(int)" instead of "new Long(long)".
- Use more efficient Short cache: Use "Short.valueOf(int)" instead of "new Short(short)".
In Java version 1.6.0_24 (vendor: Sun Microsystems Inc.), Float and Double do not implement caches, but I've made the same changes for consistency and future proofing.
- Use "Double.valueOf(int)" instead of "new Double(double)".
- Use "Float.valueOf(int)" instead of "new Float(float)".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153490 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:53:35 +00:00
Gary D. Gregory
16d92dc923
Use more efficient Short cache: Use "Short.valueOf(int)" instead of "new Short(short)"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153488 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:47:49 +00:00
Gary D. Gregory
4b1702489c
Use more efficient Long cache: Use "Long.valueOf(int)" instead of "new Long(long)"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153487 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:44:51 +00:00
Gary D. Gregory
ddeba76d0b
Use more efficient Integer cache: Use "Integer.valueOf(int)" instead of "new Integer(int)".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153484 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:39:42 +00:00
Gary D. Gregory
9d6f32538c
Use more efficient Integer cache.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153479 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:28:39 +00:00
Gary D. Gregory
6869f0abad
Generify.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153477 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:26:35 +00:00
Henri Yandell
bd082cddc8
Fixing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153350 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:29:21 +00:00
Henri Yandell
2d9e540fdf
Adding Apache license header to placate RAT
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:29:13 +00:00
Henri Yandell
11ecc04c07
Added missing @since 3.0.1 tags
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153346 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 04:59:46 +00:00
Henri Yandell
b2c23e4697
Rolling back r1153037 and r1153038 - the changes didn't help
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153343 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 04:49:45 +00:00