Commit Graph

3428 Commits

Author SHA1 Message Date
Gary D. Gregory 8c478f2f9b - Update commons-io for tests to 2.4 from 2.2.
- Update findbugs-maven-plugin to 2.5.2 from 2.4.
- Update clirr-maven-plugin to 2.4 from 2.3.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376935 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:21:54 +00:00
Gary D. Gregory c3c36a5171 Update to Commons-Parent 26.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376927 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:14:02 +00:00
Julius Davies c7ef0b7eb7 LANG-816 - followup incorporating ggregory's doc suggestion, some doc fixes, addition of CONST_BYTE() and CONST_SHORT(), and Junit improvements to test doc examples and make sure CONST_BYTE() and CONST_SHORT() throw IllegalArgumentException as required.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376829 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:24:35 +00:00
Julius Davies 93148a8e5e [LANG-816] introduce CONST() methods to prevent Javac from inlining constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376505 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 14:28:14 +00:00
Matthew Jason Benson c63041d06c [LANG-814] ConstructorUtils.invoke*(*, Object... args) variants cannot handle null values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1369116 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:43:33 +00:00
Matthew Jason Benson 49b63810c0 [LANG-814] MethodUtils.invoke*(*, Object... args) variants cannot handle null values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1369102 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:17:18 +00:00
Sebastian Bazley 4ae84a33c0 LANG-813 StringUtils.equalsIgnoreCase doesn't check string reference equality
Also check lengths.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1361462 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 00:53:36 +00:00
Matthew Jason Benson feb980a639 [LANG-812] Permit bitvector generation for Enums with > 64 values; plus some test corrections
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1361376 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 20:14:14 +00:00
Matthew Jason Benson e1a26f355e [LANG-753] Document v3.x changes to Validate API
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1354616 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 16:27:55 +00:00
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