Commit Graph

3313 Commits

Author SHA1 Message Date
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
Henri Yandell 879ed35251 Adding 462 and 786 to the change history
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1236057 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 07:22:54 +00:00
Henri Yandell cc340ad2eb Applying Chas Honton's implementation of DateParser and subsequent integration into FastDateFormat and the time package. See LANG-462.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1236055 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 07:00:26 +00:00
Matthew Jason Benson dfa6882a3b [LANG-786] StringUtils equals() relies on undefined behavior; thanks to Daniel Trebbien
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1234915 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 17:47:21 +00:00
Henri Yandell a315706734 Adding the issues in 3.2 to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225140 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:55:42 +00:00
Henri Yandell 24b91fba82 Fixing the DateIterator javadoc to indicate the end date is inclusive, not 'not inclusive'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:05:24 +00:00
Henri Yandell 27d2edb2bd Applying Ville Skyttä's patch from LANG-761 to fix the javadoc warnings in the Ant build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225113 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 06:39:30 +00:00