Commit Graph

1851 Commits

Author SHA1 Message Date
Henri Yandell f7a005e41b Adding javadoc to note that the ToStringStyle HAS to be the same (LANG-372)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594386 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 01:22:21 +00:00
Henri Yandell 659b20c037 Applying my second patch from LANG-360 - it seems to do what Stephane/Paul and I are consensing on
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594336 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:54:02 +00:00
Benjamin Speakmon e220a58ff2 - force javadoc to source 1.4 so it'll work on >= 1.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594305 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:31:02 +00:00
Henri Yandell ba320a3bc7 Applying the synchronization from LANG-369
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594278 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:58:30 +00:00
Henri Yandell 9926e31ac1 Applying the suggested change in use to the unit test as per LANG-353
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594276 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:55:14 +00:00
Henri Yandell f58c863e0b Fixing javadoc - it's != and not ==. Returning false because two objects have the same class is dumb. This was my dumb typing for LANG-353
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594275 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:54:49 +00:00
Henri Yandell 4a76e18797 Turning on findbugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@593447 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:21:42 +00:00
Henri Yandell 78b9d5fc88 Applying Scott Bassin's patch from LANG-371, adding unit tests that follow the approach of his previous patch to the documentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@592643 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 07:25:30 +00:00
Matthew Jason Benson 91410a3e10 svn keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@592081 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:50:08 +00:00
Matthew Jason Benson cfd1e692e4 set svn keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@592077 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:47:10 +00:00
Matthew Jason Benson 565d75665f remove accidental use of 1.5+ method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@592063 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:16:08 +00:00
Henri Yandell 157ae91e13 Applying Scott Bassin's patch from LANG-371 - improving the documentation for ToStringStyle as per Paul's report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@591559 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 08:03:33 +00:00
Henri Yandell 08e3868ddd Deleting the package-private comment as it freaks out xref
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@591547 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 02:59:51 +00:00
Henri Yandell d7fc9bc2e8 Fixed minor javadoc errors (as per checkstyle)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@591543 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 02:38:45 +00:00
Henri Yandell 72f88548f8 Making the HashMaps final as per LANG-367
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@590552 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:04:32 +00:00
Henri Yandell 127e6e338f Applying Sebb's test and fix from LANG-368 - fixing it so that FastDateFormat getDateInstance and getDateTimeInstance continue to work if Locale.getDefault() changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@590551 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 03:58:52 +00:00
Matthew Jason Benson 43cf3f491e [LANG-362] Add ExtendedMessageFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@590106 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 15:06:54 +00:00
Matthew Jason Benson 013f19fdaf [LANG-366] Add MultiFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@589646 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 14:50:23 +00:00
Henri Yandell 796b898281 Applying Sebb's test and fix for LANG-365
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@589050 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 05:07:45 +00:00
Henri Yandell 9da40ba6b5 Applying the javadoc sample usage change from LANG-353 as reported by Christoph Kutzinski
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@588536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 06:14:10 +00:00
Henri Yandell c22d9d59e5 Applying Scott Bassin's fix and test from LANG-363
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@588534 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 06:08:54 +00:00
Henri Yandell ed7e9b4349 Applying Scott Bassin's javadoc fix from LANG-364
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@588151 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 06:25:02 +00:00
Henri Yandell 1cc66e3095 Applying Corey Tripp's javadoc fix from LANG-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@587395 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 05:31:58 +00:00
Matthew Jason Benson bb7110e108 simplify testcase compat. w/ rev 587243
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@587244 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:46:50 +00:00
Matthew Jason Benson 462fc51fd4 add convenience isMatch(char[] buffer, int pos) that delegates using the entire buffer as bounds
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@587243 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:45:35 +00:00
Matthew Jason Benson 210884175c javadoc sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@587153 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 17:01:20 +00:00
Gary D. Gregory d0c4768911 [LANG-351] Extension to ClassUtils: Obtain the primitive class from a wrapper. Using @since 2.4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583668 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:51:41 +00:00
Gary D. Gregory 95b3ce93b8 Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583666 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:38:13 +00:00
Gary D. Gregory 0c98a75f85 Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:34:13 +00:00
Gary D. Gregory 5966fb9211 Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583664 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:32:48 +00:00
Gary D. Gregory ee512dcc92 Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583663 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:32:11 +00:00
Gary D. Gregory 0ffef3d083 Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583661 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:31:23 +00:00
Gary D. Gregory 6e73d282ce Order imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583660 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:29:48 +00:00
Gary D. Gregory 675734acf8 Order imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583659 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:29:17 +00:00
Gary D. Gregory a4ab2e97d2 Order imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583658 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:28:47 +00:00
Gary D. Gregory 58ee25072d The import java.util.Date was never used.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583657 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:28:08 +00:00
Gary D. Gregory ec668fde27 Remove unused imports. Order imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583656 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 01:27:37 +00:00
Gary D. Gregory 40a9d523a9 The import java.util.Date was never used.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583609 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 20:39:43 +00:00
Gary D. Gregory 16d4476068 Fix source inconsistencies: Some methods used both "foo" and "this.foo" for ivar references; made it all "this.foo".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583608 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 20:38:41 +00:00
Gary D. Gregory 15296e0664 [LANG-356] Add getStartTime to StopWatch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@583605 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 20:31:17 +00:00
Henri Yandell 60fe05eb7a Applying Jason Madden's patch from LANG-334 to provide enums.Enum with optimized thread safety. As Jason's used this in production I think it's fair to use it rather than the simpler Collections.synchronizedMap(..). I've also applied the patch to the enum.Enum
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@572930 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 10:13:49 +00:00
Henri Yandell 2ca0eff93c Bringing over minor edits and a thrown ClassCastException from enums.Enum
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@572929 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 10:06:41 +00:00
Henri Yandell a991c10a18 Changing name to 'Commons Xxx'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@568979 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:38:00 +00:00
Phil Steitz 070b3fa13d Changed the scm connection scheme to http (no s).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@567510 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 23:43:05 +00:00
Phil Steitz cf9ba2c87d Updated commons parent version to 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@567499 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 23:06:31 +00:00
Henri Yandell 486740b60a Altering the if/else logic of HashCodeBuilder.append(Object) as per LANG-345 to get 20->40% speed improvements. This is because the code no longer uses Class.isArray() on every invocation. Many thanks to Venkatesh Prasad Ranganath for offering this improvement.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@564070 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 01:58:11 +00:00
Henri Yandell 7fc38e82ec Adding non-javadoc note as per LANG-342
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@564056 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 00:29:21 +00:00
Henri Yandell 2730ae5394 I suspect the next version will be 2.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@564055 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 00:26:17 +00:00
Henri Yandell 050fe8e916 Applying the fix and the test patches from LANG-346 - fixes bugs in DateUtils.round() for minutes and seconds. Patch from Dave Meikle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@564053 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 00:24:59 +00:00
Niall Pemberton 2dfca4a424 Commons TLP: directory "dist/jakarta/commons" has moved to "dist/commons" for both "www.apache.org" and "archive.apache.org"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@561628 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 03:04:42 +00:00