Henri Yandell
62a9fa6811
Attaching Johann's fix to LANG-322 (via Ben's patch)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594394 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 02:33:13 +00:00
Henri Yandell
da6569b4a6
Applying Ben's patch of Brian Egge's improvement in LANG-321
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594388 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 01:29:10 +00:00
Henri Yandell
930b389bac
Committing Bjorn's unit test as per LANG-372 to show that this is indeed an issue; and is expected
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594387 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 01:25:42 +00:00
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
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
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
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
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
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
Matthew Jason Benson
8de8fe5fb7
Apache Apache
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@561556 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 21:24:54 +00:00
Rahul Akolkar
79e7dcefdb
TLP related blanket changes:
...
s:jakarta.apache.org/commons:commons.apache.org:
s/commons-user@jakarta.apache.org/user@commons.apache.org/
s/commons-dev@jakarta.apache.org/dev@commons.apache.org/
s/Jakarta Commons/Apache Commons/
s:svn.apache.org/viewcvs/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewcvs.cgi/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewvc/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/repos/asf/jakarta/commons:svn.apache.org/repos/asf/commons:
I'd appreciate another pair of eyes on this. There are some categories we probably don't want to change ATM (hopefully, none of these snuck in):
* Historicals (proposals etc.)
* URLs that shouldn't change (DOCTYPE fragments etc.)
* Test cases where namespace URLs matter etc. (I'll track any related nightly failures)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@561230 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 04:17:09 +00:00
Henri Yandell
7bc5735273
Fixing email addresses
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@560800 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:03:50 +00:00
Niall Pemberton
899e67f0de
LANG-326 - StringUtils: startsWith / endsWith / startsWithIgnoreCase / endsWithIgnoreCase / removeStartIgnoreCase / removeEndIgnoreCase methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@552088 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 03:25:53 +00:00
Henri Yandell
1c1064c917
Adding 'Deprecated' to tests which are testing deprecated methods and moving CharSetUtils from the deprecated evaluateSet method to a new getInstance(String[]) method. This does mean that getInstance(null) is no longer going to compile for people - they'll need to cast the null.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@534588 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 18:46:07 +00:00