Commit Graph

2481 Commits

Author SHA1 Message Date
Henri Yandell c7c89c3e95 Updating per Sebb's comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@966021 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:40:30 +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 22da373ea4 Upgrading to v17 of the parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965172 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 07:37:00 +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 272f8bec32 Suites have been removed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959561 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 09:03:51 +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 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