Commit Graph

3247 Commits

Author SHA1 Message Date
Gary D. Gregory 6e9a3888a6 Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185699 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:51:31 +00:00
Gary D. Gregory f4223f93e4 Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185697 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:50:15 +00:00
Gary D. Gregory d0ea299cdf Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1185695 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:47:48 +00:00
Gary D. Gregory 41e61322d6 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183484 13f79535-47bb-0310-9956-ffa450edef68 2011-10-14 20:12:49 +00:00
Gary D. Gregory d454e564c1 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183477 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 20:03:54 +00:00
Gary D. Gregory 00a102e828 Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183474 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 19:48:03 +00:00
Gary D. Gregory 7d00a80c97 Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1183473 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 19:46:16 +00:00
Gary D. Gregory eea29254e4 Fix my email entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1182397 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 14:26:50 +00:00
Gary D. Gregory 16c3a32975 [LANG-759] Add Support in SystemUtils for Windows Server 2003 and Windows Server 2008.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1180197 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 20:12:48 +00:00
Sebastian Bazley 5244e89e73 LANG-744 Use IOD for stripAccent init
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1178626 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:04:54 +00:00
Gary D. Gregory a340f1e7af Update to JUnit 4.10 from 4.9.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1178593 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 21:41:39 +00:00
Gary D. Gregory 4d6ff10084 Update to JUnit 4.9 from 4.8.2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1177772 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 18:51:21 +00:00
Henri Yandell c103730424 Adding additional example for whitespace per Bruno's patch in LANG-758
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1177171 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 05:56:45 +00:00
Gary D. Gregory 4e2882b6c3 [LANG-756] Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and isPrimitiveOrWrapper(Class<?>)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1174469 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 00:47:45 +00:00
Gary D. Gregory c919ac7250 Update my <timezone>.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1174415 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:09:17 +00:00
Gary D. Gregory 8635c742ab Update to commons-parent 22.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1174414 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:08:38 +00:00
Gary D. Gregory 74480a2362 Convert to Java 5 enhanced for loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1169521 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 20:10:58 +00:00
Henri Yandell 765e4ff843 Making this package private as it lacks any public API value at the present
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167674 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:49:13 +00:00
Henri Yandell 8819b52ba1 Making ComparatorChain implement Iterable. Including test and package private copy of Collections' UnmodifiableIterator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167673 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:47:33 +00:00
Henri Yandell 2fcc80e71f Simplifying ComparatorChain version from the version taken from Commons Collections. The ability to modify the comparator list, and the ability to reverse items (rather than simply wrapping in ReverseComparator) was complexity inducing. Also added a unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167671 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:07:14 +00:00
Henri Yandell dc3bef79c8 Adding test for equals
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1167669 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 05:06:14 +00:00
Sebastian Bazley 1db449142a LANG-752 Fix createLong() so it behaves like createInteger()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166820 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 17:30:04 +00:00
Sebastian Bazley 0ee2a1ec2c LANG-744 StringUtils throws java.security.AccessControlException on Google App Engine
Display both Java6 and Sun exceptions when neither is available for stripAccents

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166786 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 16:37:26 +00:00
Gary D. Gregory 603d818735 [LANG-751] Include the actual type in the Validate.isInstance and isAssignableFrom exception messages.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166685 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 13:41:05 +00:00
Gary D. Gregory 960b9a6cf7 Remove dead space.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166371 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:09:25 +00:00
Gary D. Gregory 613e988c80 Revert changes from r1166233: [LANG-750] Add MethodUtil APIs to call methods without parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166253 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 16:27:42 +00:00
Gary D. Gregory 6a82ecae17 [LANG-750] Add MethodUtil APIs to call methods without parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166233 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:39:45 +00:00
Gary D. Gregory 1a37d98e3b Convert to JUnit 4 from 3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166221 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:18:43 +00:00
Gary D. Gregory 9ed740b8bf Convert to JUnit 4 from 3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1166220 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:18:06 +00:00
Sebastian Bazley 8b9dba5315 LANG-744 StringUtils throws java.security.AccessControlException on Google App Engine
Change static code to catch and save Exception; only report failure if no method is available

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165701 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 15:16:47 +00:00
Gary D. Gregory 2c3cc60001 Changes for [parent] 22-SNAPSHOT.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165645 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 12:46:39 +00:00
Gary D. Gregory a1f963e6f7 Recast security manager test as an integration test (commented out.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165644 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 12:46:17 +00:00
Gary D. Gregory 7dc2291733 Running lang under a security manager and LANG-744.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165437 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 22:20:44 +00:00
Gary D. Gregory c014f1c13c Use 2 spaces per indent instead of 4 for formatting and remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165436 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 22:15:18 +00:00
Gary D. Gregory 6edbaf2fc5 I meant to say:
Updated maven-changes-plugin 2.4 to 2.6
maven-checkstyle-plugin 2.6 to 2.7.
findbugs-maven-plugin 2.3.1 to 2.3.2
cobertura-maven-plugin 2.4 to 2.5.1
clirr-maven-plugin 2.2.2 to 2.3
maven-pmd-plugin 2.3 to 2.5


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164315 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:38:40 +00:00
Gary D. Gregory 94464da05b Update Maven plugins:
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164314 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:37:19 +00:00
Gary D. Gregory ec502d9839 Update Maven plugins:
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164313 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:36:44 +00:00
Gary D. Gregory a6323c354d Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164306 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:11:36 +00:00
Gary D. Gregory 507ae723e3 Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164305 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:10:32 +00:00
Gary D. Gregory f46c6726da Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1164304 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 00:09:49 +00:00
Henri Yandell 2998309d72 Adding a System.err when a security manager stops JDK 1.5 from being able to access the Sun Normalizer class. LANG-744
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1163906 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 05:17:32 +00:00
Henri Yandell ff66dbcf6e Fixing the OSGi SymbolicName by updating the commons.componentid. Issue identified by Brandon Harper in LANG-749
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1163904 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 05:10:35 +00:00
Sebastian Bazley fafb1135a1 Clarify deprecation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1163586 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 11:41:10 +00:00
Henri Yandell 087067d581 Removing most of the ComparatorUtils code. Need to figure out how to get rid of the last attribute.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1162021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 08:22:00 +00:00
Henri Yandell a41bf2aa2e Adding javadoc for the type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1162020 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 08:19:53 +00:00
Henri Yandell 6cf48caa26 Deprecating chomp(String, String) per Verneri Åberg's report in LANG-748
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161997 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 05:19:00 +00:00
Henri Yandell 2e30bec7af Rolling back r1161378. NullComparator and ReverseComparator need the NATURAL_COMPARATOR field and the ComparableComparator.INSTANCE field is not a straight replacement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161605 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 15:27:39 +00:00
Henri Yandell 7eb4f39699 Removing ComparatorUtils. I don't think min/max(Obj,Obj,Comparator) are the most useful methods, and I'm not sure we need the static factory methods to instantiate the comparators.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1161378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 04:29:29 +00:00
Sebastian Bazley 41326bf526 LANG-746 NumberUtils does not handle upper-case hex: 0X and -0X
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160660 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:32:52 +00:00
Sebastian Bazley c98fbe27b2 Avoid boxing of both arguments
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160647 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:17:26 +00:00