Henri Yandell
|
077df4205a
|
Adding t/f and y/n options to toBooleanObject(String). LANG-649
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996421 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-13 05:36:39 +00:00 |
Sebastian Bazley
|
5c9ffd1d9b
|
Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@994971 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-08 10:16:17 +00:00 |
Henri Yandell
|
14a0cc2a9b
|
Applying my fix to LANG-645, and Mikael's test case; fixing the FastDateFormat to properly include the locale when formatting a Date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@993620 13f79535-47bb-0310-9956-ffa450edef68
|
2010-09-08 06:09:57 +00:00 |
Henri Yandell
|
f7f19a3d2f
|
Adding Ulrich + Tomas' patch to LANG-596 adding a replace(String, Properties) variant to StrSubstitutor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@990671 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-29 22:53:42 +00:00 |
Henri Yandell
|
1db9c37e95
|
Removing the 'must be zero or positive' per Volker's comment on LANG-643
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@990663 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-29 22:37:52 +00:00 |
Matthew Jason Benson
|
c544542bda
|
tweak
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989812 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-26 16:36:35 +00:00 |
Matthew Jason Benson
|
ed894291a7
|
explain why it is safe to suppress the cast warning on SerializationUtils.clone()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989390 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 22:22:55 +00:00 |
Henri Yandell
|
782e48d8e0
|
Fixing javadoc per LANG-643 to indicate an empty String is returned for negative length and not a thrown exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989329 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 19:59:41 +00:00 |
Henri Yandell
|
80057a6f04
|
Per discussion on StackOverflow: http://stackoverflow.com/questions/3282498/how-can-i-detect-a-unix-like-os-in-java src/main/java/org/apache/commons/lang3/SystemUtils.java - changing the javadoc to say 'UNIX like' rather than POSIX as some of the listed UNIX like operating systems are not POSIX compatible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989223 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 17:02:41 +00:00 |
Matthew Jason Benson
|
c3e3feeaa1
|
make SerializationUtils.clone() type-safe
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989199 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 16:15:44 +00:00 |
Matthew Jason Benson
|
52bea417c5
|
suppress warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@989169 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-25 15:27:41 +00:00 |
Henri Yandell
|
f76a32ff88
|
Removing the CharSequenceUtils.length method in favour of the StringUtils.length method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987957 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-22 22:57:51 +00:00 |
Oliver Heger
|
ee707ddb02
|
Added a new isSuccessful() method to the result object of MultiBackgroundInitializer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987621 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-20 20:01:10 +00:00 |
Oliver Heger
|
2e4aecf0d0
|
Switched to JUnit 4 style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987615 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-20 19:51:23 +00:00 |
Matthew Jason Benson
|
c665dd600a
|
sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987337 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 22:27:54 +00:00 |
Matthew Jason Benson
|
fdcb892708
|
allow subclass custom invocation handling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987336 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 22:27:05 +00:00 |
Matthew Jason Benson
|
be6641bd99
|
add serialization support to EventListenerSupport
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@987326 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-19 21:49:53 +00:00 |
Matthew Jason Benson
|
d2a3a2b1c6
|
provide read access to the registered listener instances
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@986954 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-18 21:28:05 +00:00 |
Joerg Schaible
|
711337c3a9
|
set @since
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@984657 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-12 06:55:49 +00:00 |
Joerg Schaible
|
37dba589f7
|
Fix wrong cast.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@984655 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-12 06:47:43 +00:00 |
James W. Carman
|
8904051249
|
Reverting "generification" of toMap() method in ArrayUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983933 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-10 11:31:38 +00:00 |
Sebastian Bazley
|
197354dafb
|
Comment why OK to suppress the warning
Remove unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983903 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-10 09:43:33 +00:00 |
Matthew Jason Benson
|
441671d365
|
throw IllegalStateException as documented from validState()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983711 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 16:22:55 +00:00 |
Matthew Jason Benson
|
e51c8d6cfb
|
move/comment SuppressWarnings(unchecked)/refactor surrounding code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983709 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 16:20:54 +00:00 |
Sebastian Bazley
|
2f66e0fdf8
|
Minimise scope of @SuppressWarnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983569 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 10:04:51 +00:00 |
Sebastian Bazley
|
2c0e67621a
|
Eliminate unchecked cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983568 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 09:57:51 +00:00 |
Sebastian Bazley
|
4b4ceaca41
|
DateUtils.parseDate requires String[]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983515 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:20:30 +00:00 |
Sebastian Bazley
|
55a3c67672
|
MethodUtils.invoke[Static]Method require Object[] arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983514 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:15:12 +00:00 |
Sebastian Bazley
|
62c9043f9c
|
ConstructorUtils.invokeExactConstructor and ConstructorUtils.invokeConstructor require Object[] arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983513 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:12:06 +00:00 |
Sebastian Bazley
|
0aeeb4b7ac
|
Remove spurious import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983512 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:05:13 +00:00 |
Sebastian Bazley
|
d42c22929d
|
Remove non-array version of test as it does not work.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983511 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:03:06 +00:00 |
Sebastian Bazley
|
f55d14f871
|
StringUtils.concat requires Object... not String...
Add varargs version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983510 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-09 03:00:58 +00:00 |
James W. Carman
|
c62105153e
|
Adding back in tests for deprecated methods. When the methods are removed, we'll remove the tests. Added in annotation to ignore usage of deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983482 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-08 21:07:59 +00:00 |
James W. Carman
|
a848b0f3fe
|
Some code clean-up. Removing unnecessary boxing, array creation for varargs, etc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983219 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-07 12:04:46 +00:00 |
James W. Carman
|
71fa772219
|
Reverting change that removed "superfluous" type argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983218 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-07 12:02:15 +00:00 |
James W. Carman
|
535d85c75b
|
Removing some unnecessary boxing/casting/generics params
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983141 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:58:03 +00:00 |
James W. Carman
|
b4cf0a72d6
|
Generifying toMap() method (adding in possibility for type inference on return type).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983140 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:55:48 +00:00 |
James W. Carman
|
e7f8d9bbfb
|
Generifying toMap() method (adding in possibility for type inference on return type).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@983137 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 22:44:38 +00:00 |
James W. Carman
|
823f2603a4
|
LANG-640: Add normalizeSpace to StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@982844 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-06 01:08:57 +00:00 |
Henri Yandell
|
50c1fdecb4
|
Making it so that NumberUtils.createNumber throws a NumberFormatException instead of a StringIndexOutOfBoundsException when Strings such as 1eE are passed in. Thanks to Ingo Heinrich's report and patch in LANG-638
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981736 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-03 04:41:04 +00:00 |
Henri Yandell
|
bbcba273ad
|
Fixing url to 3.0-beta javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981384 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 06:56:53 +00:00 |
Henri Yandell
|
dae053c8c3
|
Slight text change to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981380 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 06:46:10 +00:00 |
Henri Yandell
|
977151904c
|
Slight text change to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981379 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 06:45:25 +00:00 |
Henri Yandell
|
64fe3c71ef
|
Added a 2nd download option. I've had to manually modify the output so it doesn't think the 2.5 version is called lang3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@981351 13f79535-47bb-0310-9956-ffa450edef68
|
2010-08-02 01:05:06 +00:00 |
Matthew Jason Benson
|
678c9e52b7
|
javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980926 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-30 19:05:15 +00:00 |
Matthew Jason Benson
|
3244c46fe9
|
use static method for brevity, avoiding type params
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980923 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-30 18:59:09 +00:00 |
Matthew Jason Benson
|
3296f58f71
|
use 1.5 method for determining inner class-ness; null safety is really the only remaining advantage of #isInnerClass. This goes nicely with r919340
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980562 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-29 20:22:58 +00:00 |
Matthew Jason Benson
|
b74e64b211
|
add methods for inspecting array types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980557 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-29 20:21:10 +00:00 |
Matthew Jason Benson
|
5bfa8550e8
|
s/if (foo) { return true; } return false;/return foo;/g
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@980201 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-28 20:40:16 +00:00 |
Matthew Jason Benson
|
c6ba216574
|
missing svn keywords and @version: $ tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979392 13f79535-47bb-0310-9956-ffa450edef68
|
2010-07-26 18:09:52 +00:00 |