Sebastian Bazley
4a65cb8da2
LANG-807 RandomStringUtils throws confusing IAE when end <= start
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348583 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 12:40:48 +00:00
Sebastian Bazley
27bcbcc728
LANG-805 RandomStringUtils.random(count, 0, 0, false, false, universe, random) always throws java.lang.ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348422 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 14:58:34 +00:00
Sebastian Bazley
1971d3ed8b
Simplify test case
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348417 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 14:40:59 +00:00
Sebastian Bazley
94c5cbb462
Simplify tests by using @Test(expected)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1344491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 22:48:11 +00:00
Sebastian Bazley
1ee65910e3
Easier to find entries in the Eclipse outline view if the id is placed first
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342655 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:47:45 +00:00
Sebastian Bazley
4c2e69797f
LANG-802 - LocaleUtils - unnecessary recursive call in SyncAvoid class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342651 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:39:38 +00:00
Sebastian Bazley
0aa4135a78
Update to CP25; use default changes config from CP
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:37:16 +00:00
Sebastian Bazley
c3c6f98e56
LANG-511 Make private immutable fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342558 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 10:13:52 +00:00
Gary D. Gregory
5384a20c28
[LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329691 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:56:31 +00:00
Gary D. Gregory
efaa822f61
Convert to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329689 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:55:35 +00:00
Gary D. Gregory
575965b1ba
[LANG-800] Javadoc bug in DateUtils#ceiling for Calendar and Object versions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329687 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:52:56 +00:00
Gary D. Gregory
d79d88439e
Use the active voice in Javadoc comments for the first sentence.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329681 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:48:59 +00:00
Gary D. Gregory
b27adc2584
Fix Javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329678 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:42:44 +00:00
Gary D. Gregory
4071b34f98
Add comments for [LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1310584 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:57:05 +00:00
Gary D. Gregory
e4794cddf8
Add comments for [LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1310566 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:03:55 +00:00
Gary D. Gregory
e4fe677d6a
Remove incomplete Javadoc tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309988 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:20:09 +00:00
Gary D. Gregory
b889c1667f
Interface members are implicitly public.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309987 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:19:44 +00:00
Gary D. Gregory
f177e2277d
Use @see tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:17:59 +00:00
Gary D. Gregory
510e3761dc
Update commons-io to 2.2 from 2.1 (for testing.)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309980 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:02:44 +00:00
Gary D. Gregory
b819343483
Add missing @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309977 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 17:53:39 +00:00
Gary D. Gregory
8c29c67486
[LANG-798] Use generics in SerializationUtils
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309920 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 16:09:37 +00:00
Gary D. Gregory
806e256fed
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309912 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:53:18 +00:00
Gary D. Gregory
d551d98b2b
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309911 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:53:07 +00:00
Gary D. Gregory
d492294b33
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309910 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:52:43 +00:00
Henri Yandell
b8910dba7b
Updating copyright to 2012
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1301863 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 04:46:49 +00:00
Henri Yandell
f1ba9c252d
Applying Benedikt Ritter's patch to fix the Checkstyle error in SerializationUtils - LANG-793
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1301321 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 03:11:36 +00:00
Matthew Jason Benson
e9d6891549
add TODOs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1301150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 19:00:56 +00:00
Henri Yandell
a0de414979
Adding javadoc note concerning LANG-755 and the bug in java.util.Calendar.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299560 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 04:37:38 +00:00
Gary D. Gregory
c10bb4d052
Organize imports.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299413 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 17:57:40 +00:00
Gary D. Gregory
204346f754
Eat own dog food: StringUtils#isEmpty(String) and replace some but not all String#length() == 0 with String#isEmpty()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299411 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 17:55:29 +00:00
Sebastian Bazley
36b73ef5d3
Add standard distributionManagement definition
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298535 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:45:47 +00:00
Sebastian Bazley
85848c25a9
Documentation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298506 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:50:52 +00:00
Sebastian Bazley
fdb8044745
All tests should leave the registry empty
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298502 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:46:34 +00:00
Sebastian Bazley
2a691eb9b1
Fix test failures by clearing out the registry for tests that try
...
to show that the registry is left clean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298262 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 02:41:24 +00:00
Sebastian Bazley
886a2edde7
Random test order to try and catch tests that fail to clear up afterwards
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1297131 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 17:21:34 +00:00
Sebastian Bazley
42e974c43c
Trying to find cause of Gump (and other) failures
...
Ensure that registry starts out empty
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1297125 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 16:50:02 +00:00
Sebastian Bazley
8c4baca0e2
Ensure fail message gives reason
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1297019 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:06:27 +00:00
Henri Yandell
b24330cd37
Simplifying the unaccent code to no longer support Java 5
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1296774 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 09:45:21 +00:00
Gary D. Gregory
5bfccfb508
Per the VOTE on the ML, trunk can now use Java 6.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1296247 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 15:21:36 +00:00
Gary D. Gregory
840d5cf4f2
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295208 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 18:37:38 +00:00
Gary D. Gregory
9260ac9efa
Apply fix suggested by Benedikt Ritter on the ML: "The problem is, that there is no method with name "getTimeZoneOverridesCalendar()" in DateParser, so that link can't be resolved (I think you already knew that :).
...
I suppose the comment is meant to refer to getTimeZone() in java.util.Calendar. If so, you can fix that by changing the link to: {@link java.util.Calendar#getTimeZone()}"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295173 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 16:17:26 +00:00
Gary D. Gregory
e9429c05e1
[LANG-788] SerializationUtils throws ClassNotFoundException when cloning primitive classes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295134 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:39:01 +00:00
Gary D. Gregory
81797ed440
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:24:56 +00:00
Gary D. Gregory
8183099c0e
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295126 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:23:59 +00:00
Gary D. Gregory
2abea6a248
Update parent POM and plugins.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295124 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:22:08 +00:00
Gary D. Gregory
115c983620
Match POM.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295113 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:03:10 +00:00
Gary D. Gregory
3dc4e77898
Update EasyMock to 3.1 from 3.0.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295099 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 13:44:43 +00:00
Sebastian Bazley
5715f15e32
getInstance(locale) is Java 1.6+
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1293615 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 14:20:20 +00:00
Henri Yandell
58d279ce5e
Applying Felix Müller's patch from LANG-462 to fix a timezone assumption in a test and remove Java 6 interface implementation @Override statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1290976 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 09:26:06 +00:00
Matthew Jason Benson
9d9a50eef1
test same prefix/suffix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1243121 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 18:57:19 +00:00