Commit Graph

2706 Commits

Author SHA1 Message Date
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 5301882933 Add ${basedir} to <excludeFilterFile> path configuration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@937785 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 12:04:14 +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
Niall Pemberton cd1a37ab32 Upgrade to commons-parent version 15
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@936207 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:02:56 +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 22c4e1988e Adding 1.0, 1.0.1 and 2.0 releases to the doap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 08:11:17 +00:00
Henri Yandell 9900232dbd Fix year for 2.5 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930823 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 08:09:01 +00:00
Henri Yandell faf66a13f7 Update year, lots has been done in 2010
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930822 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 08:08:25 +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 8d20f34c7d Removed osgi jcip import note
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@925962 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 06:00:37 +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
Niall Pemberton 79f7a7ef52 Upgrade to commons-parent-14 (and maven-javadoc-plugin 2.5 when specified)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@923495 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 23:10:18 +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