Commit Graph

2287 Commits

Author SHA1 Message Date
Matthew Jason Benson fc3a096305 add reverse equality test assertions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996711 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:20:03 +00:00
Matthew Jason Benson 857cf0714d fix testBothArgsNull equivalence test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996710 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:16:47 +00:00
Matthew Jason Benson 4141411e3a unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996706 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:13:15 +00:00
Matthew Jason Benson 973b9b2e5b verify that a user-generated annotation which does not directly implement equals() nevertheless compares equivalently to a 'real' annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996705 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:12:35 +00:00
Matthew Jason Benson 5615bbb7ad revert previous change with unintentional reformatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996704 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:09:54 +00:00
Matthew Jason Benson da9ebdf72a verify that a user-generated annotation which does not directly implement equals() nevertheless compares equivalently to a 'real' annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996701 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 22:03:12 +00:00
Matthew Jason Benson 83efbc505b AnnotationUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996695 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 21:38:02 +00:00
Matthew Jason Benson 4d6acd80b6 unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@996691 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 21:14:15 +00:00
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 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
Henri Yandell c9c9af98d8 tabs to whitespace
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979179 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 06:43:31 +00:00
Henri Yandell 6db113f1c9 Adding a note for Maven users
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979178 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 06:40:49 +00:00
Henri Yandell 37aafec262 Small text change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979170 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 06:28:31 +00:00
James W. Carman 9a40cd0194 LANG-580: Add Event Support Utilities
Applying documentation patch "commons-lang-event-support-docs.patch" from Michael Wooten.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@978864 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 12:49:38 +00:00
Matthew Jason Benson b1ba66c46e missing svn keywords and @version: $ tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967237 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:08:57 +00:00
Matthew Jason Benson 34a5505cf7 unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967229 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:48:29 +00:00
Henri Yandell 415064acb0 Minor tweak, mention 3.0 is Java 5.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967218 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:29:37 +00:00
Henri Yandell 5ada92406b Updating the data in the 3.0 changelog. Needs a bit more; i.e. reword/delete JIRA issues that make no sense, remove the WONTFIXes, merge the subtasks, tasks and wishes into enhancement/new feature. Comment on deprecateds going away.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967191 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:33:10 +00:00
Henri Yandell b4dbd49f55 Adding a placeholder for the 3.0 changelog
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967182 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:02:35 +00:00
Henri Yandell dec41e7510 Upgrading the front page for 3.0 beta. Note that the 3.0 draft changelog needs creating
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@967180 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 17:51:08 +00:00
James W. Carman ef2a37a3ba Adding test cases for null checks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966821 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:40:20 +00:00
James W. Carman 6967edc80c Using CopyOnWriteArrayList for thread safety.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966818 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:31:48 +00:00
James W. Carman 973bdd708b Improving javadoc documentation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966812 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:18:10 +00:00
James W. Carman 4ef2bc32fc Adding a package.html file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966809 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:11:12 +00:00
James W. Carman c3b4a3d362 Improving error checking logic and adding test cases to verify.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966807 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:09:18 +00:00
James W. Carman a43c5746fc Backing out LANG-580
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966806 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 19:08:59 +00:00
James W. Carman 4f2cfd7a78 Removing ReflectiveEventSupport per author's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966769 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 17:42:17 +00:00
Matthew Jason Benson 91a90af767 compiler/generics warnings & a typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966711 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:45:49 +00:00
Henri Yandell b3eb0bfedb Adding findbugs-exclude-filter.xml to the source archives
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966707 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:25:44 +00:00
James W. Carman dc30f9c0e4 Fixing javadoc example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966645 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 13:32:00 +00:00
James W. Carman d8547e9de1 Improving test coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966644 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 13:30:28 +00:00
James W. Carman a7cb9414f7 Changing the way we handle listener list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966606 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 12:04:07 +00:00
James W. Carman a215284619 Changing eol-style to native.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966601 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:58:02 +00:00
James W. Carman 6ef1437ef4 Misc. event utils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966589 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:35:07 +00:00
Gary D. Gregory 427ec8621a svn ps svn:eol-style native
src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
svn ps svn:eol-style native
src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966488 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 03:10:36 +00:00
Sebastian Bazley f943e242c3 Javadoc tweak
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966173 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 10:51:50 +00:00
Sebastian Bazley cd489ca802 Javadoc
Remove unnecessary cast

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966171 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 10:47:57 +00:00
Sebastian Bazley 228995f61a Must not use autoboxing for Booleans in toBooleanObject(String), as we rely on object equality in toBoolean(String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966170 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 10:47:20 +00:00
Henri Yandell d482154d50 Refactoring toBoolean(String) and toBooleanObject(String) so that the latter has the same optimizations. I did this by pointing the former to the latter. I had to rewrite the optimizations a bit so they didn't auto-return as the latter considers null and false to be different. I also had to add specific support for false, no and off for the same reason. LANG-633
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965963 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 19:10:34 +00:00
Henri Yandell 731c0040fe Fixing the pass along of compareTransients to the reflectionCompare method as identified by Robert Radkiewicz in LANG-635
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965941 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 18:10:34 +00:00
Henri Yandell 05fbbf646d Removing commented out private method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965937 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 18:03:47 +00:00
Henri Yandell 5792333116 Checking in my work in progress for a 3.0 article
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965171 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 07:35:19 +00:00
Henri Yandell faa336fadb Adding Michael Wooten's event support utilities from LANG-580
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965165 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 06:05:51 +00:00
Henri Yandell 76c250987d Applying Sean Mickey's patch to LANG-630 such that MutableObject.equals is as would be expected. Now it directly overrides the equals(Object) method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965162 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:53:30 +00:00
Matthew Jason Benson 0a7381942c [LANG-597] vastly expanded TypeUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@963845 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 19:56:45 +00:00
Henri Yandell 434575ed0a Adding toCalendar method per LANG-632
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@963601 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 05:17:48 +00:00
Henri Yandell 26cc12705e Updating javadoc per Sean Mickey's 2nd comment to LANG-628
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@960834 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 07:36:38 +00:00
Henri Yandell 2055022644 Javadoc fix to StringUtils.lastIndexOf(String) per LANG-631
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@960831 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 07:26:43 +00:00
Joerg Schaible 5e9fd18a88 Fix cloning of array types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@960138 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 00:30:46 +00:00
Sebastian Bazley c90b815dab Document thread-safety (where known)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959577 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 09:48:23 +00:00
Sebastian Bazley f752f803eb Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959422 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 20:24:49 +00:00
Henri Yandell 3abcada25b Improving javadoc for HashCodeBuilder.append(boolean) and the general class javadoc per LANG-628
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959172 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 03:19:56 +00:00
Henri Yandell e0020ed3d6 Adding my LANG-623 unit test. It showed there was no issue, but might as well keep it there in case it's reopened
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956788 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 06:37:47 +00:00
Henri Yandell bef3eb6ed0 Adding a test, and code fix, to have supplementary chars working in numeric entity unescaping. See LANG-617
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956787 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 06:34:18 +00:00
Henri Yandell c0041cafc2 Escaping supplementary chars seems good for NumericEntityEscaper. LANG-617
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956782 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 06:19:29 +00:00
Henri Yandell 590867417d Fixing variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956778 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 06:02:18 +00:00
Henri Yandell 9e0f645e8e Adding containsWhitespace method per LANG-625. Code comes from the Spring framework, so I've added such to the NOTICE file. License is Apache License 2.0. Unit test is original.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956775 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 05:44:47 +00:00
Gary D. Gregory eb79f7c6f3 (LANG-624) SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM. Oops, fix return type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@949223 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 16:33:23 +00:00
Gary D. Gregory 2d9a9ae59f (LANG-624) SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM. More assertions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@949222 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 16:30:16 +00:00
Gary D. Gregory b24ecd60fe - Fix (LANG-624) SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM
- Refactor for unit testing.
- Remove odd test code which is copy and pasted from SystemUtils, which therefore does not test anything.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@949140 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:12:04 +00:00
Henri Yandell 2241a1abc9 Fixing indent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@946903 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 06:40:17 +00:00
Henri Yandell 85d065031b Adding note on requiring Comparator for non-Comparable. LANG-620
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@946897 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 06:29:43 +00:00
Matthew Jason Benson 9a9da72d00 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@939495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 22:11:22 +00:00
Niall Pemberton 42474537c6 Generate custom Mailing List pages for components (using "mvn commons:mail-page")
See http://commons.apache.org/commons-build-plugin/mail-page.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@936225 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:29:42 +00:00
Henri Yandell b7bf013a2a Fixed LocalUtils typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931821 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 07:42:45 +00:00
Henri Yandell 7f8be7348f Hooking in the 2.5 article to the release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931762 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 03:00:26 +00:00
Henri Yandell 43a338ac6c Moving the @since 2.5 to the correct repeat method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931757 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 02:42:52 +00:00
Henri Yandell 2621b9b3d6 Bug in copy and paste, now tests MutableFloat not MutableDouble for String constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931457 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 07:32:08 +00:00
Henri Yandell 80600a76b7 Article written about the 2.5 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931453 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 07:20:25 +00:00
Henri Yandell a50a1eaf70 Moving the startsWithAny method from (String, String[]) to (String, String...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@931452 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 07:20:03 +00:00
Gary D. Gregory f323edb026 @since 3.0 Changed signature from methodName(String) to methodName(CharSequence)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930911 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 17:24:48 +00:00
Henri Yandell 0d77fa861a Adding missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930819 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 08:00:34 +00:00
Henri Yandell 206ee21454 Fixing package name to WordUtils and String->CharSequence API change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930817 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 07:57:44 +00:00
Henri Yandell ac4bc3dbd5 Fixing referred to method after API change. getInitializedObject became get
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930816 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 07:57:10 +00:00
Henri Yandell 95e1aaebc2 Fixing javadoc to refer to CharSequence after API change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930815 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 07:56:44 +00:00
Henri Yandell ebe7f51668 Minor 3.0 updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930469 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 04:37:26 +00:00
Oliver Heger f96d4df26e LANG-609: Added AtomicInitializer class. Introduced new ConcurrentInitializer interface which is now implemented by all all initializer classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@929189 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 16:49:22 +00:00
Henri Yandell e4789bd4fc Minor language tweaks (LANG-576)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@928465 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 18:17:48 +00:00
Joerg Schaible f9e141cfe5 Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@928453 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 17:04:59 +00:00
Henri Yandell 910d8a0d66 Removing unused import, putting fully qualified name in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@927257 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 02:32:57 +00:00
Henri Yandell 6dcc663d58 Updating Change report with all the resolved 3.0 issues
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@926954 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 06:49:41 +00:00
Henri Yandell 571b8e3017 Adding concat(Object...) and concatWith(String, Object...) methods to provide vararg'd versions of the more prominent join methods. This ties into the String.concat method. LANG-396
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@926448 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:56:18 +00:00
Henri Yandell 1865f0b68d Vararging constructor methods; much like the method ones were in MethodUtils. LANG-396
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925970 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 06:22:28 +00:00
Henri Yandell a22c0543d8 Vararging more methods. StringUtils.getCommonPrefix, StringUtils.indexOfDifference, WordUtils.initials, WordUtils.uncapitalize, WordUtils.capitalizeFully, WordUtils.capitalize, BooleanUtils.xor. LANG-396
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925967 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 06:16:49 +00:00
Henri Yandell 2c6e919e65 Vararging parseDate methods. LANG-396
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925963 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 06:02:56 +00:00
Henri Yandell 5ba837e409 Moving most of the methods over to varargs. A couple can't change because they are Object[], Class[] with both end parameters ideally wanting to be vararg. LANG-396
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925961 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 05:59:31 +00:00
Oliver Heger 0769eb977b [LANG-610] Introduced ConcurrentRuntimeException and extended the exception handling methods of ConcurrentUtils to support runtime exceptions, too.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925818 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 16:35:22 +00:00
Henri Yandell bc22af91e7 Adding Builder interface, and refactoring the builder classes and BasicThreadFactory to implement this interface. Patch from Michael Wooten in LANG-601
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925674 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 20:20:26 +00:00
Henri Yandell 1a60c21395 Applying the copy of the HashCodeBuilder code to stop cyclic references over to EqualsBuilder per LANG-606 and Oliver Sauder's patch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925671 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 20:16:57 +00:00
Oliver Heger cfff2579f5 Switched test class to jUnit 4 style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925419 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:08:06 +00:00
Henri Yandell 53d9ad9ffb 'stolen' is a cute word, but given it means taking without permission it's incorrect here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@924407 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 18:32:36 +00:00
Henri Yandell dec906e158 Fixing javadoc per LANG-600. Examples already in tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@924372 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:17:45 +00:00
Sebastian Bazley 311dc94070 Tab police (and trailing spaces)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923551 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 02:34:00 +00:00
Gary D. Gregory 2fdfb4a387 Change the APIs from char to int character input to match underlying JRE API called. There is no need to narrow the input type argument to the JRE, in fact this causes us to loose support for Unicode supplementary characters. The APIs changed are:
- indexOf(String, char) -> indexOf(String, int)
- indexOf(String, char, int) -> indexOf(String, int, int)
- lastIndexOf(String, char) -> lastIndexOf(String, int)
- lastIndexOf(String, char, int) -> lastIndexOf(String, int, int)
- contains(String, char) -> contains(String, int) 

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923527 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:46:02 +00:00
Gary D. Gregory bc52782cd8 https://issues.apache.org/jira/browse/LANG-607 StringUtils methods do not handle Unicode 2.0+ supplementary characters correctly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923525 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:37:07 +00:00
Gary D. Gregory 6505531d5c Fix tabs to spaces, thank you Jörg.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923386 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 18:47:37 +00:00
Joerg Schaible 022d08cfd3 Fix DefaultExceptionContext.addValue that overwrites information in a recursive situation (LANG-605). Allow explicit replacement of a label with the new replaceValue methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923341 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:11:55 +00:00
Niall Pemberton 4d7a616cca Update components to point to the new download pages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:04:53 +00:00
Gary D. Gregory 646c27b226 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922912 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 17:45:49 +00:00
Gary D. Gregory a9b61fc427 Back out a CSU experiment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922911 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 17:44:23 +00:00
Gary D. Gregory 7780fa0ad5 Oops, experiment in progress. Back out last change.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922910 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 17:42:08 +00:00
Gary D. Gregory 5fe2d862fc Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922909 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 17:37:07 +00:00
Gary D. Gregory 5b7817cc3f Fix defaultIsEmpty typing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922904 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 17:33:23 +00:00
Gary D. Gregory 1ced894df7 https://issues.apache.org/jira/browse/LANG-607 StringUtils.containsAny methods incorrectly matches Unicode 2.0+ supplementary characters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922703 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 00:54:03 +00:00
Gary D. Gregory 8a8859cb88 Makes sure "..." is the same all over this method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@922448 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 22:59:21 +00:00
Gary D. Gregory 655050f6fd Use INDEX_NOT_FOUND instead of magic number.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@920546 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:22:31 +00:00
Joerg Schaible 7f23ec3d90 ContextedRuntimeException must extend RuntimeException (LANG-602).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@920544 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:20:12 +00:00
Gary D. Gregory 7cfa8a9328 Change StringUtils arguments from String to CharSequence.
Details: Working with (trunk) StringUtils (SU) I see the following emerge: 

- In SVN already and continuing: Change StringUtils arguments from String to CharSequence (CS).

- This leads to replacing calls to String.substring(int[,int]) with calls to CharSequence.subSequence(int)

- This leads to creating a CharSequenceUtils class (in SVN now, more on this new class below) and CharSequenceUtils.subSequence(CharSequence,int) to avoid changing "str.substring(start)" over and over to "str.subSequence(start, str.length())". For examples, see new versions of capitalize and uncapitalize.

- We end up using a toString() on CharSequence to return a String from StringUtil when working with a CharSequence.

So we have StringUtils using CharSequence inputs as much as possible instead of String, which is nice. 

The CharSequence method subSequence returns a CharSequence; though the Javadoc states "Returns a new CharSequence that is a subsequence of this sequence.", this does not guaranteed the return value to be the same kind of CharSequence as the receiver). Since we are after all in a class called StringUtil, calling toString() is a must.

I propose that we create when possible the methods that are now StringUtils CharSequence methods into CharSequenceUtils and let StringUtil call CharSequenceUtils and then do its toString() and other String specific logic. Later we could have other CharSequence type of utils (for CharBuffer, StringBuiler, StringBuffer, etc) that use the 'primitives' from CharSequenceUtils.
This means that for methods that are based solely on methods that are now in CharSequence, these can be moved to CharSequenceUtils without effort (all is* methods only call CharSequence#length() and charAt() for example and are now typed as CS, still in SU). 

We can leave @deprecateds method in SU as a nicety to avoid too much porting pain: First change the package to lang3 then you can 'optimize' by changing call sites from SU to CSU.

As a start, I put in SVN a CharSequenceUtils (CSU) implementation for length() and subSequence().


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@920543 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:15:08 +00:00
Gary D. Gregory 9c0379850b Convert defaultIfEmpty from String to CharSequence.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@920187 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 03:41:49 +00:00
Niall Pemberton e1077c023d Re-generate the download pages using the new commons-build-plugin .12 (via commons-parent version 13)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@920156 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:11:50 +00:00
Gary D. Gregory 9abfbaecab More tests for length()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@919872 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 22:54:34 +00:00
Gary D. Gregory 543f2d36e4 Change length(String) to length(CharSequence)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@919859 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 22:09:37 +00:00
Henri Yandell f91a7c97d3 Per David M. Sledge's patch to LANG-599, added support to ClassUtils.getClass(String) to support inner classes being separated by '.' as well as the official '$'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@919340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 09:05:47 +00:00
Henri Yandell 51df5ea90c Closing the paragraph tag on the ThreadSafe notation. LANG-370
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 06:22:16 +00:00
Sebastian Bazley 18e7603cac Fix threadsafety comments
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918836 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 03:12:36 +00:00
Sebastian Bazley 26cdd7ba56 Iterator is not threadsafe
Make private field final

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918829 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 02:57:03 +00:00
Henri Yandell c84c4669aa Some more #ThreadSafe# tags per LANG-370
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918373 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 09:22:46 +00:00
Henri Yandell bb0d189f1b Adding ThreadSafe notes to some obviously threadsafe classes (LANG-370)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918369 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 09:16:38 +00:00
Henri Yandell 36a29645fb Fixing javadoc @see tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918368 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 09:09:14 +00:00
Henri Yandell 45488c9826 Adding info on the LANG-559 commits
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918367 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 08:58:10 +00:00
Henri Yandell 4f31ae757c Applying Valentin Rocher's patch from LANG-559, adding isInstanceOf and isAssignableFrom methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 08:56:22 +00:00
Sebastian Bazley 6699e44845 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918240 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 23:01:54 +00:00
Sebastian Bazley 52baa809b8 Unused import; missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918239 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 23:01:40 +00:00
Sebastian Bazley 8e4147b75c Fix raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918238 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 22:55:22 +00:00
Sebastian Bazley 11272085d7 Tab police
Also removed extraneous trailing spaces

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918237 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 22:52:09 +00:00
Henri Yandell b72207ccf4 Updating package.html files (LANG-490).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@917897 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 06:58:04 +00:00
Paul C. Benedict Jr 7721acd0ef LANG-594: Add truncatedEquals and truncatedCompareTo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916906 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 03:29:43 +00:00
Niall Pemberton e49c05bdce 2.5 changes report should show LANG-348 instead of LANG-438
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916449 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 20:51:17 +00:00
Henri Yandell 90f45b447a Adding toString test. LANG-588
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916099 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 03:11:48 +00:00
Henri Yandell 88d44051a1 Applying Matt's patch with my modifications from LANG-588. Adds a Pair class to Lang.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916098 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 03:04:19 +00:00
Henri Yandell e0ddfa767c Adding BasicThreadFactory class. Same as Oliver's original patch in LANG-582, with an @since 3.0 added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916095 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 02:53:04 +00:00
Niall Pemberton cf74865561 Update site for 2.5 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916082 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 01:29:36 +00:00
Niall Pemberton 43fca0d749 Port @since tags from 2.x branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@916081 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 01:28:13 +00:00
Niall Pemberton 8c16b39c3d Minor javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@915111 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 23:25:21 +00:00
Niall Pemberton 1fdcb829bb Minor code simplification
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@915110 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 23:22:18 +00:00
Niall Pemberton 3afb07ec81 Remove Maven1 XML documents
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@911992 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 21:31:32 +00:00
Niall Pemberton 6aca4b61a0 Checkstyle changes only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@911987 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 21:27:31 +00:00
Joerg Schaible 7b6ab58a01 Add methods for Cloneables to ObjectUtils (LANG-576).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@908745 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 23:22:05 +00:00
Sebastian Bazley 7a304cfc7b Javadoc clarification
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907630 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 12:22:32 +00:00
Henri Yandell 1b5c1b4371 Adding extra javadoc to point out that usually indexOf on an empty String == -1. LANG-589
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907561 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 06:57:34 +00:00
Henri Yandell 10cc16fe82 Moving the indexOf(String, String, int) method above the ordinalIndexOf methods to put it with its overloaded peers. LANG-590
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907385 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 07:10:14 +00:00
Henri Yandell ab759f7d06 Removing JDK 1.2/1.3 protecting bugfix. We're now on JDK 1.5. LANG-590
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@907384 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 07:08:58 +00:00
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
Sebastian Bazley 9a5da72bbf LANG-581 - Javadoc bug in org.apache.commons.lang.StringUtils.removeEndIgnoreCase()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@899231 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 15:12:47 +00:00
Henri Yandell 86e893cc6d Removing unnecessary <p> and Class variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897533 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 20:23:13 +00:00
Henri Yandell 5494a87bbb Replacing the creation of a List in the core of each Builder class to test contains on the excludeFields with a call to ArrayUtils.contains. Reported by Anthony Whitford in LANG-575
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897421 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 11:44:06 +00:00
Henri Yandell 8d518b7786 Performance improvement per Anthony Whitford in LANG-574. Check for isArray to short-circuit the 9 instanceof checks. Improves both non-arrays and Object[] in tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897419 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 11:20:49 +00:00
Henri Yandell 72e4ab4b00 Synchronizing the COMMON Map so that getInstance doesn't miss a put from a subclass in another thread. LANG-494
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897408 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 10:06:42 +00:00
Henri Yandell 2493294550 Removing unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897406 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 10:02:59 +00:00
Henri Yandell 069d15e863 Removing unused WordUtils import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@897404 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 10:02:25 +00:00
Henri Yandell 18b3e505cf Renaming media for the simple reason that two directories pisses off my tab completion :)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@895915 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 06:11:37 +00:00
Oliver Heger ee00c7a6f7 [LANG-560] Added TimedSemaphore class to concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@895466 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 19:04:08 +00:00
Paul C. Benedict Jr 76e14e483c Push down WordUtils to "text" sub-package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@895335 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 07:13:31 +00:00
Paul C. Benedict Jr 08d51233f9 LANG-559: Added validState()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@895334 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 06:39:04 +00:00