Henri Yandell
|
779828c9a2
|
Applying Valentin Rocher's patch to LANG-579, adding new regexp and in range methods to Validate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907382 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-07 05:40:10 +00:00 |
Matthew Jason Benson
|
76660f4a98
|
reread ThreadLocal value in synchronized block to avoid any timing issues
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907375 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-07 03:42:08 +00:00 |
Matthew Jason Benson
|
1f35e7c99b
|
[LANG-586] Clear ThreadLocal for HashCodeBuilder as well
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907373 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-07 03:14:09 +00:00 |
Matthew Jason Benson
|
2fb9e71da6
|
promote uniformity between branches by using registry accessor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907126 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-05 23:11:43 +00:00 |
Matthew Jason Benson
|
8f675dd3cb
|
[LANG-587] avoid NPE in ClassUtils.toClass(Object[])
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907102 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-05 21:31:38 +00:00 |
Matthew Jason Benson
|
5d5a31a827
|
clean up toClass(Object[]) test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907099 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-05 21:22:29 +00:00 |
Matthew Jason Benson
|
0d828cd075
|
unused imports + uh, why would you synchronize access to a ThreadLocal? :P
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@906682 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-04 22:10:24 +00:00 |
Matthew Jason Benson
|
a2bb711aee
|
[LANG-586] part 2: refactor ToStringStyle and ToStringBuilderTest to verify that we are unsetting the registry when no longer needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@906676 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-04 21:57:58 +00:00 |
Matthew Jason Benson
|
5c3ec55e15
|
[LANG-586] clear ThreadLocal recursion registry (compatibly with existing tests, first pass)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@906673 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-04 21:46:22 +00:00 |
Niall Pemberton
|
c98d0840bc
|
LANG-454 implement Iterable<Character> and some javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@906028 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 12:22:27 +00:00 |
Sebastian Bazley
|
63ad5b063e
|
LANG-585. Don't suggest catching Throwable, catch Exception instead.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@906015 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 11:40:06 +00:00 |
Henri Yandell
|
6b4cb16608
|
Adding nullToEmpty methods to ArrayUtils per LANG-534 and Levon Karayan's patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905925 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 07:53:47 +00:00 |
Henri Yandell
|
6c53b134b6
|
Fixing LANG-585. Don't catch Throwable, catch Exception instead.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905922 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 07:38:17 +00:00 |
Henri Yandell
|
23f5080950
|
Adding Vincent Ricard's patch to CharRange.java providing an iterator that lets you walk the chars in the range. LANG-454
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905919 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 07:31:10 +00:00 |
Henri Yandell
|
643302af8c
|
Applying Chandrashekar M's patch to LANG-583, adding isNotEmpty(array) methods to ArrayUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905917 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 07:20:40 +00:00 |
Niall Pemberton
|
23f3b90843
|
Reorganize site to standard m2 layout (now there is no longer an m1 build)
- move/rename xdocs directory to site/xdoc
- remove xdocs/images and xdocs/style directories
- move xdocs/changes.xml to site/changes/changes.xml
- correct changes.xml location in pom.xml
- remove xdocs directory from assembly/src.xml
- remove redundant conf directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905854 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-03 00:55:08 +00:00 |
Matthew Jason Benson
|
9dbe765600
|
generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905803 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-02 21:23:25 +00:00 |
Matthew Jason Benson
|
b92a2b5b0c
|
remove pre Java 5 workaround
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905786 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-02 20:39:36 +00:00 |
Matthew Jason Benson
|
240b7a92f6
|
default autoboxing for Class[] depending on RT Java version + more tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905766 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-02 20:07:27 +00:00 |
Sebastian Bazley
|
485dd97b18
|
Correct comment and test name: LANG-520 => LANG-530
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905726 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-02 17:42:15 +00:00 |
Matthew Jason Benson
|
b9a702bb49
|
default autoboxing depending on RT Java version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905690 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-02 16:22:46 +00:00 |
Niall Pemberton
|
6a613ffa16
|
Remove my author tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905268 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-01 12:01:04 +00:00 |
Niall Pemberton
|
381cb097a8
|
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@905267 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-01 12:00:11 +00:00 |
Henri Yandell
|
1c5b51d6a6
|
Removed comment on being able to add cause methods. This was removed from the API as noted in LANG-584
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@904562 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-29 17:12:02 +00:00 |
Oliver Heger
|
8ea4582e2c
|
Fixed a test case that does not work on non-English locales.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@903421 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-26 21:19:07 +00:00 |
Sebastian Bazley
|
f624a86dd1
|
Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902960 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-25 19:47:41 +00:00 |
Sebastian Bazley
|
a28d94ea5d
|
Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902958 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-25 19:44:41 +00:00 |
Sebastian Bazley
|
c92f2bcf4c
|
Simplify code (eliminate conditional check) and avoid NPE warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902955 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-25 19:40:38 +00:00 |
Sebastian Bazley
|
a6c13a17c0
|
Javadoc correction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902948 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-25 19:32:33 +00:00 |
Sebastian Bazley
|
d0b2568ee1
|
Fix raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902944 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-25 19:32:08 +00:00 |
Niall Pemberton
|
99d54a9167
|
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902054 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-22 10:57:25 +00:00 |
Niall Pemberton
|
e5618bc494
|
Javadoc updates only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902053 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-22 10:52:07 +00:00 |
Niall Pemberton
|
91e2b603a6
|
Javadoc correction: truncation -> abbreviation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@901817 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-21 18:27:09 +00:00 |
Niall Pemberton
|
9143987fa0
|
LANG-405 rename method from truncateMiddle() to abbreviateMiddle()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@901815 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-21 18:22:15 +00:00 |
Niall Pemberton
|
d918999ddd
|
Replace tab characters with spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@901804 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-21 17:59:51 +00:00 |
Henri Yandell
|
4240de53b3
|
Applying Srihari Reddy's patch from LANG-405, based on Dave Meikle's original patch. This adds a truncateMiddle method to StringUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@901595 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-21 08:38:12 +00:00 |
Henri Yandell
|
6913747d7d
|
Modifying toString method to cache in a thread-safe way per LANG-481
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@900015 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 19:50:33 +00:00 |
Sebastian Bazley
|
01067903aa
|
LANG-571 ArrayUtils.add(T[] array[, offset], T element) can create unexpected ClassCastException
Remove tests for generation of Object arrays when both objects are null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899940 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 13:05:07 +00:00 |
Sebastian Bazley
|
13bdd203ce
|
Unused imports
Suppress deprecation warnings for tests of deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899938 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 13:00:07 +00:00 |
Sebastian Bazley
|
78792f3873
|
Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899936 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 12:59:21 +00:00 |
Sebastian Bazley
|
b777356fa3
|
LANG-564 Improve StrLookup API documentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899933 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 12:53:54 +00:00 |
Sebastian Bazley
|
54c0f6ba9e
|
LANG-571 ArrayUtils.add(T[] array[, offset], T element) can create unexpected ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899929 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 12:39:20 +00:00 |
Henri Yandell
|
a5dc7f1e68
|
Adding hashCode caching in line with LANG-481
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899897 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 08:04:40 +00:00 |
Henri Yandell
|
8860c37b9d
|
Adding String lazy caching
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899895 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 07:58:11 +00:00 |
Henri Yandell
|
5be7671ea1
|
Adding javadoc note on immutable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899893 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-16 07:48:16 +00:00 |
Sebastian Bazley
|
1da401f263
|
FIx Javadoc error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899264 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-14 16:08:20 +00:00 |
Sebastian Bazley
|
ab20f86381
|
Fix paste typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899260 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-14 16:03:56 +00:00 |
Sebastian Bazley
|
b88699d65f
|
Another case-insensitive test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899245 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-14 15:40:03 +00:00 |
Sebastian Bazley
|
491a1d6e88
|
LANG-581 - Javadoc bug in org.apache.commons.lang.StringUtils.removeEndIgnoreCase()
Add some case-insensitive examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899242 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-14 15:37:42 +00:00 |
Sebastian Bazley
|
a7b7e11461
|
Fix JUnit message to agree with test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899239 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-14 15:31:13 +00:00 |