Stephen Colebourne
|
14224204d9
|
Fix test case tear down that causes other tests to break
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829348 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-24 11:44:07 +00:00 |
Stephen Colebourne
|
d87e7f52c0
|
Reorder methods and adjust Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829345 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-24 11:23:53 +00:00 |
Stephen Colebourne
|
58bf5f3aa3
|
Apply generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829343 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-24 11:08:52 +00:00 |
Henri Yandell
|
4f9c1c3777
|
Changing the hashCode() method to return toHashCode() per the request in LANG-520
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829285 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-24 00:04:07 +00:00 |
Henri Yandell
|
3d17fad6d6
|
Patch from Michael Rudolf in LANG-522 applied with additional String constructor tests added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829283 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-24 00:00:47 +00:00 |
Henri Yandell
|
51a130b544
|
Applying patch from Vincent Ricard in LANG-514. CharRange constructors removed and replaced with readable static builder methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829282 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 23:59:02 +00:00 |
Henri Yandell
|
ba0205c202
|
Making the private fields final via Sebb's patch from LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828944 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 06:46:02 +00:00 |
Henri Yandell
|
6ef494b6f4
|
Making private fields final per Sebb's patch to LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828943 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 06:44:45 +00:00 |
Henri Yandell
|
37405f1efe
|
Adding back the empty constructor per Sebb's comment on LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828942 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 06:43:26 +00:00 |
Sebastian Bazley
|
f20df89b6f
|
LANG-541 - Switched StringBuffer to StringBuilder when only used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828910 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 01:46:25 +00:00 |
Sebastian Bazley
|
749c4c66c5
|
LANG-541 - Switched StringBuffer to StringBuilder when only used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828909 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 01:37:07 +00:00 |
Sebastian Bazley
|
e226ac7de9
|
Make private field final to improve thread safety
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828899 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 00:24:27 +00:00 |
Sebastian Bazley
|
8ee228155c
|
Unnecessary semi-colon;
Remove TODO which has been addressed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828897 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-23 00:23:15 +00:00 |
Henri Yandell
|
711e204e73
|
Applying the final part of Benjamin Bentmann's patch to LANG-432, improving our handling of case-insensitive Strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828317 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-22 05:46:33 +00:00 |
Henri Yandell
|
7d3fbbfd43
|
Applying Tomasz Nurkiewicz's patch from LANG-533 adding notBlank methods to Validate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828310 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-22 05:33:21 +00:00 |
Niall Pemberton
|
96acca756c
|
Update to commons-parent-12
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@827830 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 23:00:29 +00:00 |
Henri Yandell
|
7e83efc1d1
|
Removing tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826970 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 06:11:39 +00:00 |
Henri Yandell
|
13a0cc63cd
|
Applying Robert Scholte's patch from LANG-422, adding a appendSeparator with an alternative default separator if the StrBuilder is currently empty
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826969 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 06:10:10 +00:00 |
Henri Yandell
|
dbf4cd5f42
|
Moved identityToString(StringBuffer, Object) to identityToString(Appendable, Object) per LANG-542
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826960 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 05:46:43 +00:00 |
Henri Yandell
|
6d8ed9be2c
|
Switched StringBuffer to StringBuilder whenever a local usage (and not subsequently used in an API) as per LANG-541
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826958 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 05:35:46 +00:00 |
Henri Yandell
|
7f837535c6
|
Adding a StringUtils.repeat(String, String separator, int) method per request in LANG-348
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826955 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 05:18:57 +00:00 |
Henri Yandell
|
5b601a3d6b
|
Applying Sebb's patch from LANG-540 making the NumericEntityEscaper class immutable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826947 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 04:19:47 +00:00 |
Henri Yandell
|
d68da319fa
|
Fixing compile error introduced after making variable final but leaving a path in which it can miss getting initialized
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826946 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-20 04:16:38 +00:00 |
Henri Yandell
|
c9a918a842
|
Making private options variable final at Sebb's pointing out of thread safety improvement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826584 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-19 04:38:32 +00:00 |
Henri Yandell
|
bdb8ae03b6
|
Changing Param to Option. A Parameter is a user supplied value; an Option is a user supplied choice. LANG-507 related.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826518 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 20:32:40 +00:00 |
Henri Yandell
|
0fd4b3afe1
|
Sebb pointed out that the implementation for LANG-507 was not thread safe. Rewriting to pass parameters in to the constructor, but doing so in an experimental way - comments very much desired on whether this makes for a nice API or not
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826514 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 20:14:30 +00:00 |
Sebastian Bazley
|
b3cec0c2c3
|
Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826421 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 12:21:31 +00:00 |
Sebastian Bazley
|
b287ebae61
|
Remove unused imports and throws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826420 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 12:16:50 +00:00 |
Sebastian Bazley
|
c634f0c64c
|
Constructors, fields and nested classes do not inherit doc comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826413 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 11:40:46 +00:00 |
Henri Yandell
|
64c615346f
|
Implementing an option to UnicodeUnescaper in which the syntax '\u+0047' is supported. By default it remains unsupported to match Java's method of parsing. Request in LANG-507
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826370 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-18 07:25:59 +00:00 |
Henri Yandell
|
2dc5618257
|
Applying my patch from LANG-535 - adding support to getShortClassName and getPackageName for arrays, including primitive arrays and multi-dimensional arrays. Also stopped getPackageName relying on the underlying class.getPackage as it's sometimes null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@825420 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-15 07:31:32 +00:00 |
Henri Yandell
|
bb8709f3e3
|
Prefering the Class methods (and thus JDK) over the String methods for getShortClassName/getPackageName when you already have an Object
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@824597 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-13 05:50:51 +00:00 |
Henri Yandell
|
1e282a9643
|
Upgrading to JUnit 4.7. Changing two classes (ClassNotFoundSerializationTest and CharUtilsPerfTest) to not end with Test as that was throwing them into the JUnit setup. CharUtilsPerfTest renamed to CharUtilsPerfRun. ClassNotFoundSerializationTest becomes ClassNotFoundSerialization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@824595 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-13 05:40:15 +00:00 |
Oliver Heger
|
169a20fb98
|
[LANG-499] Test class for ConcurrentUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@820071 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-29 19:14:56 +00:00 |
Oliver Heger
|
13ef1d725f
|
[LANG-499] Added ConcurrentException and ConcurrentUtils classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@820070 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-29 19:14:17 +00:00 |
Sebastian Bazley
|
826adcfbaf
|
Fixup raw types for private variables (non-API)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819703 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-28 20:14:36 +00:00 |
Sebastian Bazley
|
e6c395c5d8
|
unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819701 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-28 20:08:27 +00:00 |
Sebastian Bazley
|
5beb105d6b
|
Use Eclipse comment-style to suppress drop-thru warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819700 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-28 20:07:53 +00:00 |
Sebastian Bazley
|
d3391ff4aa
|
unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819698 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-28 20:06:18 +00:00 |
Oliver Heger
|
c7ee4f6d32
|
Accidently changed formatting in the previous commit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819148 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-26 15:07:07 +00:00 |
Oliver Heger
|
1e060c6e35
|
[LANG-496] Added a comment why a temporary variable is used in get().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819146 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-26 15:03:06 +00:00 |
Oliver Heger
|
f4ae31ef19
|
Added myself as developer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819143 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-26 14:35:23 +00:00 |
Oliver Heger
|
8958fdcc73
|
[LANG-496] Added LazyInitializer class plus test class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819141 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-26 14:27:32 +00:00 |
Oliver Heger
|
31a812e4eb
|
[LANG-529] Created new concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@819140 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-26 14:26:43 +00:00 |
Matthew Jason Benson
|
7cdd4ed1d8
|
generics for addAll(Object[], Object[]) + varargs for all addAll addends
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@818214 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-23 19:16:19 +00:00 |
Matthew Jason Benson
|
014c032b16
|
add quick type compatibility check
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@813984 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 18:56:24 +00:00 |
Matthew Jason Benson
|
3d69a1f2cd
|
ArrayUtils generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@813971 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-11 18:27:18 +00:00 |
Henri Yandell
|
ab66a1d87c
|
Applying Boris' patch in LANG-481 to improve thread safety in the Range classes. The previous code's reuse of the hashCode variable for local operations means it is utterly non-thread-safe. Now uses a local variable so that the worst case should be the hashCode being calculated multiple times, but not ending up with different values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@812236 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-07 17:56:30 +00:00 |
Henri Yandell
|
02f510c204
|
Applying Ivan Bilenjkij's patch such that the Mutable classes implement an appropriately typed Mutable interface. LANG-528
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@812235 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-07 17:52:53 +00:00 |
Henri Yandell
|
bb75332087
|
Reverting accidental commit in r811944.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@811948 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-06 23:00:28 +00:00 |