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
Henri Yandell
75d931a326
Applying unit test/fix for LANG-328
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@534277 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 23:50:01 +00:00
Hanson Char
77a3c20bc0
removed pointless synchronized
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@530648 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 05:11:46 +00:00
Hanson Char
57dd1dc2d2
removed pointless synchronized
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@530645 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 05:06:03 +00:00
Henri Yandell
1539a50828
Updating with the correct version number
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@526778 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 15:33:19 +00:00
Daniel Rall
2319a67407
A feeble attempt at a (personal) anti-spam measure.
...
[ in jarkarta/commons/lang/src/ ]
* test/org/apache/commons/lang/exception/NestableDelegateTestCase.java
* test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java
* test/org/apache/commons/lang/StringUtilsTest.java
* java/org/apache/commons/lang/exception/ExceptionUtils.java
* java/org/apache/commons/lang/exception/NestableRuntimeException.java
* java/org/apache/commons/lang/exception/NestableError.java
* java/org/apache/commons/lang/exception/NestableDelegate.java
* java/org/apache/commons/lang/exception/NestableException.java
* java/org/apache/commons/lang/exception/Nestable.java
* java/org/apache/commons/lang/ObjectUtils.java
* java/org/apache/commons/lang/StringUtils.java
* java/org/apache/commons/lang/SerializationUtils.java
Remove my email addresses.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@512889 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:18:20 +00:00
Henri Yandell
b47f3a1d26
Making the build work again. No email received from the nightly build :(
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@511337 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 20:30:13 +00:00
Henri Yandell
1138f35555
Intentionally breaking the build to test the nightly build. Will fix tomorrow.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@511206 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 04:16:04 +00:00
Henri Yandell
1b19377446
Fixing LANG-320. I modified the tests to only check that the listed languages and countries are contained in the result, not that they exactly equal the result
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@508733 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 08:41:20 +00:00
Henri Yandell
6c0c39eb4d
Fixing javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@508731 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 08:34:54 +00:00
Henri Yandell
cd2c0146ab
Commenting out the unit test for LANG-312. It's not resolved yet, so failure will happen
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@505466 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 19:58:06 +00:00
Henri Yandell
6575c54a88
Switching the JDK test to a warning as we can't control the JDK
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504357 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 23:02:52 +00:00
Henri Yandell
b16235ad10
Applying test and fix for LANG-315
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504351 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:49:50 +00:00
Henri Yandell
de4952beaf
Oops, javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504349 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:44:33 +00:00
Henri Yandell
386cf07d7d
Fixing javadoc warnings from checkstyle
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504343 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:40:12 +00:00
Henri Yandell
4b27f9cc30
Switching last two methods to use 'str' rather than 'string'
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504336 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:26:51 +00:00
Henri Yandell
2ddc45fc77
Replacing the optimisation for LANG-287.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504334 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:25:57 +00:00
Henri Yandell
f011627264
I don't know why we declared new escape(StringWriter, String) methods. I've removed these and inlined their code into the escape(String, String) type methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504319 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 22:04:01 +00:00
Henri Yandell
aa5356645e
Improved private method name, newStringWriter to createStringWriter. newStringWriter is too close to new StringWriter
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@504316 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 21:57:57 +00:00
Henri Yandell
1781d00847
Removing unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@501986 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 20:54:26 +00:00
Henri Yandell
3e718fdb1b
Applying my fix from LANG-314
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@501606 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 22:26:38 +00:00
Henri Yandell
aac29e97ee
Fixed indentation/tabs. Eclipse wasn't setup right I guess
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@500497 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 07:13:59 +00:00
Henri Yandell
ec4a0fdfac
Applying a modified version of Maarten Coene's patch for #LANG-69. All unit tests pass; opinions would be very welcome though.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@500495 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 07:11:08 +00:00
Henri Yandell
87ee821a5d
Adding a unit test to show that LANG-313 is not a problem in the current trunk
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@496931 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 03:56:33 +00:00
Niall Pemberton
801f084e8e
Change the assertion failure messages to provide more info
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@493682 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 08:15:41 +00:00
Henri Yandell
0a201610f9
Also test the JDK
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492913 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 05:36:50 +00:00
Henri Yandell
abb136d51f
Adding test for LANG-312. It passes for me, so I'm interested in whether it fails for anybody else.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492910 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 05:30:04 +00:00
Stephen Colebourne
0f2ba8cea3
Fix javadoc example
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492378 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:31:24 +00:00
Stephen Colebourne
183e837907
LANG-275 - StringUtils substringsBetween, implemented by Dave Meikle
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492377 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:20:30 +00:00
Stephen Colebourne
80cd41f238
Add since tags
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492371 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:42:05 +00:00
Stephen Colebourne
da8646f9c9
LANG-306 - StrBuilder appendln/appendAll/appendSeparator
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@492369 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 00:35:45 +00:00