Commit Graph

2605 Commits

Author SHA1 Message Date
Sebastian Bazley 44dbf85b6a Add tests to check for duplicate entries in the conversion tables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034797 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:31:08 +00:00
Sebastian Bazley c8c7a0c491 LANG-658 Fix ograve entry
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034794 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:17:12 +00:00
Sebastian Bazley a28a5c875f LANG-659 - EntityArrays typo: {"\u2122", "−"}, // minus sign, U+2212 ISOtech
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1034784 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 15:54:30 +00:00
Henri Yandell 2658d6911f Minor tweak to javadoc to improve clarity
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1033113 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 17:35:47 +00:00
Gary D. Gregory c5710ced50 [LANG-656] Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1032596 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 15:18:19 +00:00
Henri Yandell 80a39fba9b Fixing the javadoc for indexOfAnyBut(CharSequence, char[]) per Dirk Starke's report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1032220 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 07:15:00 +00:00
Matthew Jason Benson 71de1b3e14 use [] for array delimiters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1031247 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:05:48 +00:00
Henri Yandell 6f0dc1070c Adding StringUtils.defaultIfBlank(String, String). Requested by Adam Dyga, patch from Nicklas Holm. LANG-655
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1030830 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 04:05:57 +00:00
Oliver Heger 88bb2bf846 [LANG-653] Updated release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026487 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:33:12 +00:00
Oliver Heger b2359c470e [LANG-653] Updated user guide
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026486 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:32:46 +00:00
Oliver Heger d0b2b05af5 [LANG-653] Added ConstantInitializer class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1026485 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:32:09 +00:00
Gary D. Gregory 6d992c02da Organize imports only.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1022749 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 22:49:55 +00:00
Henri Yandell cccbf94e72 Changing the StringBuilder to build around an empty String and not null, as null will cause an NPE. Reported by FindBugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006333 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 18:34:48 +00:00
Oliver Heger 039f4566a9 [LANG-609] Updated user guide to cover AtomicSafeInitializer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006174 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 15:22:50 +00:00
Oliver Heger fda34fa818 [LANG-609] Added AtomicSafeInitializer class. Thanks to alexander dot apanasovich at gmail dot com for the proposal.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1006172 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 14:56:18 +00:00
Oliver Heger c34f334c12 [lang-482] Updated release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005978 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:22:53 +00:00
Oliver Heger 6f6eddbf3a [lang-482] Added support for substitution in variable names.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005974 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:17:31 +00:00
Niall Pemberton 790140111d Upgrade reporting plugin versions and fix issues upgrading maven-checkstyle-plugin from version 2.3 to 2.6
maven-checkstyle-plugin 2.4 onwards uses Checkstyle 5.0 (upgraded from Checkstyle 4.4). Checkstyle 5.0 is not 100% backwardly compatible with release 4.4 and the following changes need to be made to make it work. See the Release Notes for details of incompatible changes and fixes here:
    http://checkstyle.sourceforge.net/releasenotes.html



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005380 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 09:23:59 +00:00
Niall Pemberton 460f6fcc15 COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Oliver Heger 802ebc4279 Removed my author tag, typo, trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1003851 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 18:37:50 +00:00
Matthew Jason Benson d263c80808 Make ObjectUtils.defaultIfNull generic
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1002368 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 21:52:32 +00:00
Oliver Heger 5b25355eb9 [lang-644] Add documentation for the new concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1000166 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 20:08:02 +00:00
Matthew Jason Benson 4a6bde09a6 move private method to end
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999539 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:48:53 +00:00
Matthew Jason Benson bbdc0722a8 use builder APIs for AnnotationUtils.toString()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999538 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:46:54 +00:00
Matthew Jason Benson b1d5cfe08e and add one last, even more complex, test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999453 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 15:02:03 +00:00
Matthew Jason Benson 2bf76ada44 add a meatier test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999450 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 14:57:34 +00:00
Matthew Jason Benson 4c0f8dba50 add hashCode and toString methods to AnnotationUtils, plus tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@999169 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 00:27:40 +00:00
Henri Yandell 8c19964d55 Per LANG-629, making the underlying set synchronized for CharSet
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@998000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 07:18:03 +00:00
Henri Yandell 4870fd13a2 Adding Shashi Kant Sharma's implementation of endsWithAny - LANG-614
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@997979 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 05:10:27 +00:00
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