Commit Graph

3155 Commits

Author SHA1 Message Date
Matthew Jason Benson 42c7d34dff junit4ify EnumUtilsTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1149314 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 18:54:45 +00:00
Henri Yandell 4574329913 Adding Nelson Carpentier's patch adding an EnumSet to bit vector (and back again) to EnumUtils. LANG-730
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1149058 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 08:00:28 +00:00
Stephen Colebourne 0154a74354 Upgrade to JUnit 4.8.2 (same version as commons IO)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148822 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 15:56:57 +00:00
Gary D. Gregory b1d97bc2fa Test that XML should be able to unescape >0x7f values with leading 0s.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148531 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:03:42 +00:00
Gary D. Gregory 2c3fa8366e Javadoc, comments, and message strings: Change "unicode" to "Unicode".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 20:53:23 +00:00
Henri Yandell e9a72d4552 Adding a link to the 2->3 clirr report and a note on 2 and 3 being in different packages to the front page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148233 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:40:02 +00:00
Henri Yandell cd7b32ad09 Adding 3.0 release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148227 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:31:05 +00:00
Henri Yandell eac36c633d Fixing the 3.0 release date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148225 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:30:03 +00:00
Henri Yandell 50d7884787 Added note on Lang 3.0 being useable beside earlier versions; and removing the lang3.exception header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148224 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 08:28:56 +00:00
Henri Yandell de3285f462 Adding a unit test for LANG-729
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148172 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:17:03 +00:00
Henri Yandell 5997452fe7 Fixing test to use the right escaper; numeric entities and not unicode. LANG-728
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148167 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:10:03 +00:00
Henri Yandell 1a22532991 Fixing documentation; it was pointing to UnicodeEscaper and not NumericEntityEscaper. Also updated the API to not be Range based as we dropped that.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148166 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:09:46 +00:00
Henri Yandell 2556149b64 Fixing javadoc - it was pointing to the wrong translator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148164 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:08:14 +00:00
Henri Yandell 42dd1e1902 Dropping Ignore import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148163 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:04:00 +00:00
Henri Yandell 9fa142b118 Updating unit test for LANG-728 to work with Lang 3.0 way of using escapeXml with > 0x7f characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148162 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:58:03 +00:00
Henri Yandell 96156936d8 Fixing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148160 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:54:58 +00:00
Henri Yandell 16c1e9e423 Applying Ville Skyttä's LANG-717 patch to force the encoding in Ant and Maven builds to ISO-8859-1; stopping reported ugly output if your system is running in UTF-8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148152 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:32:56 +00:00
Henri Yandell c40ebb8edf Setting 3.0 release date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148140 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:41:22 +00:00
Henri Yandell 96eaa828b6 Adding 3.0 and 2.6 to the doap file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148139 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:40:16 +00:00
Henri Yandell c88e6498e3 Updating version number to 3.0.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1148137 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:38:19 +00:00
Matthew Jason Benson 2e072c1da8 [LANG-726] Add a method e.g. Range<T> Range<T>.intersectionWith(Range<T>)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 06:10:37 +00:00
Matthew Jason Benson 6c65862a68 junit4ify RangeTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147536 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 06:01:17 +00:00
Matthew Jason Benson fe235bbb83 junit expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147531 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:33:33 +00:00
Matthew Jason Benson 2b0b97178b junit4ify NumberUtilstest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147528 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:18:14 +00:00
Matthew Jason Benson b46f9adc0b revert c1147524
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147526 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:16:30 +00:00
Matthew Jason Benson 4660e5159b [LANG-724] Convert Validate.noNullElements(Object[]) to varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147524 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:02:39 +00:00
Henri Yandell 30bae8f0ff Updating the clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147523 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 04:48:14 +00:00
Matthew Jason Benson 81b5435a3a [LANG-723] Add mode and median Comparable... methods to ObjectUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147522 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 04:22:51 +00:00
Matthew Jason Benson aee1b76fb6 junit4ify ObjectUtilsTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147521 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 03:46:44 +00:00
Matthew Jason Benson afa12a7960 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 03:43:51 +00:00
Matthew Jason Benson b81dfde37c commentary
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147515 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 02:56:15 +00:00
Matthew Jason Benson 8ffdb2df2e ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147513 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:44:50 +00:00
Matthew Jason Benson b4a00f93bf add @since tags for and/or methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147512 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:43:57 +00:00
Matthew Jason Benson c808034989 [LANG-722] Add BooleanUtils.and/or varargs methods to complement xor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147511 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:39:14 +00:00
Matthew Jason Benson 061a53be62 use exception expectations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147510 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:24:38 +00:00
Matthew Jason Benson 655c442730 junit 4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147509 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 01:10:05 +00:00
Matthew Jason Benson 0bfa9cbfb8 reduce number of created arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147508 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 00:43:55 +00:00
Matthew Jason Benson 4b047fc607 [LANG-721] Complement ArrayUtils.addAll() variants with by-index and by-value removal methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147507 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 00:30:04 +00:00
Gary D. Gregory fe645ed552 Use a private static final instead of an ivar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147501 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 22:31:35 +00:00
Gary D. Gregory 12f8a472c0 Format consistently {}'s.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147500 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 22:29:57 +00:00
Gary D. Gregory 137d5f6753 [LANG-728] StringEscapeUtils.escapeXml(str) does not support supplemental characters. Add one failing test method with @Ignore (= it is not run.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147499 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 22:28:34 +00:00
Gary D. Gregory d4319b1c17 Convert to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147498 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 22:26:43 +00:00
Gary D. Gregory c04611f260 Test for [LANG-720] StringEscapeUtils.escapeXml(input) outputs wrong results when an input contains characters in Supplementary Planes. [LANG-708] StringEscapeUtils.escapeEcmaScript from lang3 cuts off long unicode string.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147212 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 16:12:50 +00:00
Matthew Jason Benson 4c2ae062ff typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1147189 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:20:54 +00:00
Matthew Jason Benson 2c1b5be146 [LANG-720] StringEscapeUtils.escapeXml(input) outputs wrong results when an input contains characters in Supplementary Planes. ALSO rewrite method to avoid modification of counter variable in for loop
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1146844 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 18:49:51 +00:00
Henri Yandell 8a3e860345 Removing unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1146554 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 04:43:15 +00:00
Henri Yandell 6abc96c55b Setting version to 3.0 in prep for RC4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1146550 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 03:49:27 +00:00
Joerg Schaible 34a6449c90 Adjust FastDateFormat for Java 7 behavior regarding format of the year pattern (LANG-719).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1146138 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 17:01:37 +00:00
Henri Yandell c023bfb593 Removing the option around whether or not to support the + in \u+0000. JDK 7 now supports the + sign, so UnicodeUnescaper will unescape \u0000 or \u+0000.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1145851 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 03:31:14 +00:00
Gary D. Gregory 262c708b91 Make field static.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1145339 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 20:45:58 +00:00