Commit Graph

2755 Commits

Author SHA1 Message Date
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
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
Henri Yandell 501363c813 Adding NOPMD statement to empty catch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1145035 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 06:09:39 +00:00
Gary D. Gregory d12a0bf808 [LANG-718] build.xml Java 1.5+ updates.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144999 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 01:02:13 +00:00
Gary D. Gregory 9d6bc2827e Should be a static variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144995 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:53:09 +00:00
Gary D. Gregory 782ea59054 Make instance variables final where possible.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144993 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:51:16 +00:00
Gary D. Gregory 14373ad1b1 Convert to Java 5 enhanced for loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144992 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:49:04 +00:00
Gary D. Gregory fab64bbdc7 Convert to Java 5 enhanced loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144929 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:26:16 +00:00
Gary D. Gregory f3fbf1e4fa Eat own dog food: Call StringUtils.isEmpty().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144925 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:07:05 +00:00
Gary D. Gregory 18adf4f0fb Remove unnecessary parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144922 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:02:50 +00:00
Gary D. Gregory fa4f5d8019 [LANG-716] swapCase and *capitalize speedups.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144921 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:01:56 +00:00
Gary D. Gregory 0502919490 [LANG-715] CharSetUtils.squeeze() speedup.
[LANG-714] StringUtils doc/comment spelling fixes.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144917 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 17:52:52 +00:00
Gary D. Gregory 48920b44f0 [LANG-715] CharSetUtils.squeeze() speedup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144916 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 17:50:21 +00:00
Gary D. Gregory a4f287acdb [LANG-714] StringUtils doc/comment spelling fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144884 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 15:55:47 +00:00
Joerg Schaible f7bebfacca Remove add and set methods of ExceptionContext types taking a pair. Format entries with index. Improve Javadoc. Add serialization test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144022 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 20:29:51 +00:00
Joerg Schaible 1275959be9 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144010 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 20:02:10 +00:00
Stephen Colebourne 7526bbfac4 Javdoc and minor tweaks to contexted exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143746 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:07:06 +00:00
Stephen Colebourne 6fd8000cce Review and cleanup Javadoc in ConstructorUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143735 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:52:00 +00:00
Henri Yandell d70baf1370 Moving to an IllegalArgumentException: LANG-710
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143643 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 03:47:17 +00:00
Henri Yandell 458cf9df78 Updating javadoc to mention all three options
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143642 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 03:46:18 +00:00
Henri Yandell 9642e11aac Making unescapeHtml _NOT_ escape unfinished numeric entities by default (it ignores them); however adding options that will fire an exception or unescape the numeric entity. LANG-710
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143641 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 03:44:22 +00:00
Joerg Schaible 6be2343397 Refactor ExceptionContext and derived. Context contract stipulates a sequence of label-value entries with support for multiple entries for the same label.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143612 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 23:54:57 +00:00
Joerg Schaible 913ddd55dd Typos. Parameter name mismatch in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143538 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 19:38:31 +00:00
Joerg Schaible 551346f0f6 Typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 19:30:22 +00:00
Joerg Schaible 53358b1219 Enrich ClasUtils tests for inner types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142841 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:49:33 +00:00
Gary D. Gregory e883181ff4 Port to JUnit 4. Not 100% done.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 15:03:00 +00:00
Gary D. Gregory 765297b79c Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 14:50:30 +00:00
Gary D. Gregory c55cbbdd8c Port to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142699 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 14:48:51 +00:00
Gary D. Gregory bcdfd12ebc Use the active voice in Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142561 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:26:45 +00:00
Gary D. Gregory 068bb229f2 Misc Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142560 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:24:53 +00:00
Gary D. Gregory 0605c3e044 Use the active voice in Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142559 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:23:23 +00:00
Gary D. Gregory 1bb1765bd8 Use the active voice in Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142558 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:21:49 +00:00
Gary D. Gregory 3e792ce0c5 [LANG-713] [patch] Increase test coverage of FieldUtils read methods and tweak javadoc. Apply patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142555 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:18:26 +00:00
Henri Yandell 0b1db833f2 Adding missing private method javadoc and removing 'unused' import in favour of fully qualified javadoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142401 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 08:30:12 +00:00
Henri Yandell a783018094 Escaping &
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142400 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 08:28:05 +00:00
Henri Yandell 874438dfc1 Documenting LANG-710 in the release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142394 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 08:10:42 +00:00
Henri Yandell 4509b8a49c Removing leftover trace statement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142390 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:57:13 +00:00
Henri Yandell 8914d7f617 Adding tests and resolving LANG-710, reported by Benjamin Valentin. Note that this changed such that the code will now escape an unfinished entity (i.e. &#030). This matches browser behaviour.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142389 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:55:33 +00:00
Henri Yandell 23a71e792b Noting LANG-703 in the release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142382 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:07:32 +00:00
Henri Yandell a80f11cf9d Applying Ilya's patch from LANG-703 fixing an NPE when toString returns null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142381 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:04:38 +00:00
Henri Yandell f5cb67acd9 Additional tests for MethodUtils from Nathan Beyer - LANG-712
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142380 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 06:59:59 +00:00
Henri Yandell 8de2366fc1 Reverting r1090111 - moving the text.translate escapers back from using Range to replicating parts of the Range API. See the list for details ('unnecessary boxing in StringEscapeUtils etc'), the move to Range was an uncomfortable fit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142151 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 04:06:23 +00:00
Matthew Jason Benson 1d41504168 [LANG-709] Increase test coverage of MethodUtils invoke methods and a few test corrections
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1140015 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 04:58:35 +00:00
Matthew Jason Benson 9036626a13 formatting/ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1139924 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 19:32:14 +00:00
Matthew Jason Benson 2d64d32596 use commons.release.version property as instructed in http://wiki.apache.org/commons/UsingNexus
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1137088 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 23:58:24 +00:00
Matthew Jason Benson 15f4c21a3b javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 16:12:40 +00:00
Matthew Jason Benson f1b8ec1888 ws only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136516 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 16:11:20 +00:00
Matthew Jason Benson a6f4e95950 match exception message from threshold-free LD implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136508 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 16:03:51 +00:00
Matthew Jason Benson 0467966f4b [LANG-684] Levenshtein Distance Within a Given Threshold; submitted by Eli Lindsey
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136496 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 15:52:09 +00:00
Stephen Colebourne 734d218eb5 Fix Javadoc bug; Improve implementation and tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1133336 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 10:51:27 +00:00
Sebastian Bazley 6887d0f09c Additional varargs tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132845 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 00:50:50 +00:00
Sebastian Bazley d3e471045c Additional null cast tests for varargs methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132837 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 00:03:16 +00:00
Sebastian Bazley 114e59cc83 Revert r113289 - varargs invocation does not work with null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 14:24:21 +00:00
Sebastian Bazley e909357fb4 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132390 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 12:45:10 +00:00
Sebastian Bazley d3d4622998 Eliminate varargs warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132389 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 12:44:41 +00:00
Sebastian Bazley ffbc41e725 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1132388 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 12:44:13 +00:00
Henri Yandell 61cba9d9a4 Fixing accidental switch to 'int' in r1131309
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1131310 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 02:58:30 +00:00
Henri Yandell c1cb131f71 Adding comment on refactoring of API before making it public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1131309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 02:44:27 +00:00
Stephen Colebourne 0ad6c30b0e Refactor Range with lots of new methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127565 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:35 +00:00
Stephen Colebourne f5682c4c70 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127563 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:04 +00:00
Stephen Colebourne 3513ecb0b7 Fix toString(format)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127554 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:29:31 +00:00
Stephen Colebourne 7e6b6fce8d Remove Formattable from Pair
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127546 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 14:44:04 +00:00
Stephen Colebourne 3933e63c7c Make ImmutablePair final; Minor fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1127544 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 14:35:42 +00:00
Gary D. Gregory 0431c59fe0 Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1125416 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 14:33:17 +00:00
Matthew Jason Benson facd90be6f rename MutablePair setters for bean compatibility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1124337 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 17:01:47 +00:00
Matthew Jason Benson 68ba5d616a sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099434 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:51:15 +00:00
Sebastian Bazley 543bbb4d64 Suppress boxing warnings that are deliberate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099422 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:44:41 +00:00
Sebastian Bazley 78de63c7c0 Make boxing explicit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099420 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:42:56 +00:00
Stephen Colebourne 154da561fd Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099416 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:22:29 +00:00
Stephen Colebourne 7699d19aaa Test impact on Pair of being Formattable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099414 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:13:51 +00:00
Stephen Colebourne f1db2dda80 Inline the Pair toString for performance, and specify the format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099413 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:13:17 +00:00
Sebastian Bazley bfb76fae2f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099412 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 11:11:39 +00:00
Stephen Colebourne 3149ea2511 Change Calendar.getInstance to new GregorianCalendar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099402 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:39:14 +00:00
Stephen Colebourne 5f9fd135a2 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099401 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:37:14 +00:00
Stephen Colebourne 08cfc7ffba Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099398 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:25:12 +00:00
Oliver Heger ad97691891 Fixed a test failure which occurred under certain circumstances (Java 1.5 with default locale GERMAN).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1098403 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 20:27:16 +00:00
Henri Yandell aed9a4bd31 Updating the clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097701 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:23:29 +00:00
Henri Yandell a1eee7b8d4 Adding notes on getSimpleName and FormattableUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097700 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:14:46 +00:00
Henri Yandell f597044b43 Noting the difference between getSimpleName and getShortName in the getShortName javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097697 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 05:59:53 +00:00
Gary D. Gregory 7f189bd416 Add test that omits arg to invoke constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097487 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:49:45 +00:00
Sebastian Bazley 2e73a40df5 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096718 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 10:44:07 +00:00
Gary D. Gregory 3822209578 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096574 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 19:51:57 +00:00
Gary D. Gregory 8691eb0328 Set SIMPLEST_FORMAT to "%s", which is simpler that "%1$s"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096573 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 19:41:08 +00:00
Gary D. Gregory 28feb02b2e Add back Pair#toString(String format).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096506 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 16:00:32 +00:00
Matthew Jason Benson af9cbd35d5 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096472 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 13:28:06 +00:00
Henri Yandell a9831e81fa Renaming the newly public pad(int, char) method to repeat(char, int) [note the swap of param order]. I've also pulled the faster implementation out of repeat(String, int).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096419 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 06:38:04 +00:00
Henri Yandell 8634371ec0 Updating clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096106 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 06:11:56 +00:00
Henri Yandell d1b632acaf Adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096102 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 04:56:19 +00:00
Henri Yandell 32cd493435 Adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096101 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 04:55:17 +00:00
Gary D. Gregory b168f29106 Move new FormattableUtils class to .text from .util.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1096058 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 21:53:14 +00:00
Gary D. Gregory 95008b9efd Make the pad method public. I can use this now :) ! The method used to be private and named padding. It is used internally and covered by unit tests through leftPad(), rightPad() and repeat().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095998 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 19:28:58 +00:00
Gary D. Gregory 9d1a1d7816 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095955 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 15:57:37 +00:00
Gary D. Gregory 10e83fc8e6 Eat own dog food: Replace "" with StringUtils.EMPTY.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095935 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 13:51:53 +00:00
Matthew Jason Benson 9d2f0b9a18 Pair implements java.util.Formattable and defers toString() handling thereto.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095836 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 22:25:00 +00:00
Matthew Jason Benson 2fb208b8d8 [LANG-697] Add FormattableUtils class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095833 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 22:21:13 +00:00
Gary D. Gregory 0e3ec0b68e Add two new null-safe APIs: getSimpleName(*). See https://issues.apache.org/jira/browse/LANG-696
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095752 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 15:33:02 +00:00
Henri Yandell 9ef322c33c Refactoring FastDateFormat per LANG-462 to use the FormatCache class created for an upcoming DateParser functionality. I've kept FormatCache package-private for now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095299 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:51:16 +00:00
Henri Yandell 5a7a09256e Adding a test related to LANG-693 for createNumber
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095285 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:27:28 +00:00
Henri Yandell 9d619172ee Moving from lang.xxx to lang3.xxx
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1095284 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 06:14:07 +00:00
Henri Yandell ddfb336e3e Moving indexOfAnyBut and containsAny to vararg APIs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1094098 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 04:26:20 +00:00
Henri Yandell 7d9ade1caa Moving lastIndexOfAny and indexOfAny to (CharSequence, CharSequence...) from (CharSequence, CharSequence[])
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092824 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:44:56 +00:00
Henri Yandell e00c223382 Added more @since 3.0 CharSequence changes. Fixed an @since 3.1 to 3.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092822 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:42:21 +00:00
Henri Yandell 7271276871 Adding @since 3.0 CharSequence tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1092817 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 21:26:52 +00:00
Matthew Jason Benson ad83272aa8 remove javadoc param tag for nonexistent parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091967 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 22:44:40 +00:00
Matthew Jason Benson 3c977ad1fa cure warnings for arrays of component type other than Object are specified to StringUtils.join()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091966 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 22:32:13 +00:00
Gary D. Gregory 8256dbef70 Refactor all 3 three Pair classes from o.a.c.l to o.a.c.l.tuple.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091531 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 18:29:49 +00:00
Stephen Colebourne 079cf8b020 Simplify code; Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091471 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:34:43 +00:00
Stephen Colebourne 47132a3fcc Organize imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091457 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:18:09 +00:00
Stephen Colebourne 38b539ae39 LANG-692 - Add hashCodeMulti varargs method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091452 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:17:07 +00:00
Stephen Colebourne c60aa33843 LANG-692 - Add hashCodeMulti varargs method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091448 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:13:36 +00:00
Stephen Colebourne dbcaeecb4f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091420 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:13:25 +00:00
Henri Yandell 7cf67797a0 Removing unncessary brackets
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091344 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 09:38:46 +00:00
Gary D. Gregory 329b2576f8 Javadoc the Java version reported by Android.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091246 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 22:49:04 +00:00
Gary D. Gregory a7530eae97 Rename getRightElement() to getRight(). Rename getLeftElement() to getLeft().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091241 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 22:39:35 +00:00
Henri Yandell 54de75b635 Noting LANG-691 in the release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091206 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:59:01 +00:00
Henri Yandell d827bb7604 Removing UTC_TIME_ZONE per LANG-691
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091202 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:52:18 +00:00
Matthew Jason Benson 7e73ff593f defer default toString() handling to toString(format)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091197 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 20:31:14 +00:00
Gary D. Gregory 8d0de8421b Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091158 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 18:10:23 +00:00
Gary D. Gregory 29066c6e89 Add Pair.toString(String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091156 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 18:07:54 +00:00
Stephen Colebourne 37fa5d6fa4 Enhance pair classes; Shorten toString form; Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091146 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:48:14 +00:00
Matthew Jason Benson a283547d5c ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091096 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:07:29 +00:00
Matthew Jason Benson 77c0ffce3c varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091095 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:06:32 +00:00
Matthew Jason Benson 93666dd2f2 varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091094 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 15:05:49 +00:00
Matthew Jason Benson 359cb03882 remove unnecessary reflection parameter args
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091091 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:41:44 +00:00
Gary D. Gregory 0734a04ca7 Use Java 5 getSimpleName API.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091086 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:20:43 +00:00
Gary D. Gregory aaadcb2b54 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091085 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:18:46 +00:00
Matthew Jason Benson ca7f616594 remove javadocs detailing things the #getCause() methods no longer do
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091084 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:18:26 +00:00
Gary D. Gregory 82ce12fee3 Add a test for default toString behavior.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091075 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:53:29 +00:00
Matthew Jason Benson e8ea1dd79d javadoc correction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091072 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:42:03 +00:00
Matthew Jason Benson 9a901d2580 no point specifying public access to a constructor of a private class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091071 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:38:03 +00:00
Matthew Jason Benson 88c13f8e6b ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091070 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:36:15 +00:00
Matthew Jason Benson 83d1dbf5eb tab alignment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1091066 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 13:30:11 +00:00
Phil Steitz f070298869 Restored Ant build.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090934 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 05:00:19 +00:00
Phil Steitz fc9dec48b8 Fixed javadoc spelling errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090932 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 04:23:01 +00:00
Matthew Jason Benson 8d01b77e2e fix introduced failures having to do with removing the call to internal helper method #toNoNullStringArray()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090821 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:59:07 +00:00
Matthew Jason Benson 880c74f3a3 more varargs-related updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090813 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:03:23 +00:00
Matthew Jason Benson a681d650f6 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090811 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 14:51:19 +00:00
Henri Yandell 19e4076ee1 Updating the manual clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090526 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:59:08 +00:00
Henri Yandell 83558381e3 Adding LANG-510
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:47:15 +00:00
Henri Yandell f08d8a2b0c Fixing documentation post translate move to Range API
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090522 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:30:12 +00:00
Henri Yandell 1a1145199e Moving 510 to below the beta fold. Adding LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090521 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:24:47 +00:00
Henri Yandell 944040db83 Fixing @see reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090514 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:41:19 +00:00
Henri Yandell b310b05700 Making it explicit that the else statement expects to jump to the next iteration of the loop
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090511 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:16:13 +00:00
Henri Yandell 0a1740cb4d Changing comment so PMD notices the NOPMD
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090510 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:14:26 +00:00
Henri Yandell 235040fa98 Making CharRange non-public. LANG-689
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090427 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:17:10 +00:00
Henri Yandell 4458775718 Note the CharSequence API change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090426 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:17:00 +00:00
Henri Yandell 287b2cd800 Moving text translation classes to the Range class for its configuration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090111 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 04:47:21 +00:00
Sebastian Bazley 0d01e050fa Fix broken test - Sun Java and Eclipse casting nasturtiums at each other
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090006 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:57:08 +00:00
Henri Yandell 6623901d3f My screwup. Rolling back didn't fix, so rolling forward again. No idea still why the build fails; needs investigation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090004 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:55:43 +00:00
Henri Yandell 22822da85e Rolling back the TypeUtilsTest change in r1089973 as it breaks the build. Unsure why.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090000 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:47:48 +00:00
Henri Yandell ee1dce15c2 Removing @author that was introduced by undeleting a file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089996 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:41:01 +00:00
Sebastian Bazley 937114b426 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089974 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:10:40 +00:00
Sebastian Bazley 44a1c545c2 Comment out useless self-assigns
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089973 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:09:31 +00:00
Sebastian Bazley b084341cba Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089971 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:06:21 +00:00
Sebastian Bazley 306b3880e1 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089970 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:05:50 +00:00
Sebastian Bazley 45be0392e8 Rewrap text
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089968 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:03:59 +00:00
Matthew Jason Benson 368fe5337c keywords fixup
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:49:02 +00:00
Matthew Jason Benson faae4b3b10 formatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089963 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:47:43 +00:00
Matthew Jason Benson f4c4d5ab24 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089961 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:46:58 +00:00
Matthew Jason Benson e490a84b17 [LANG-688] removed unnecessary elses and use of ternary operator with primitive boolean consequences e.g. (some boolean expression) ? true : false
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 15:03:21 +00:00
Henri Yandell 2541a62def Moving the CharSequence specific methods out of StringUtils and reintroducing the CharSequenceUtils class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089751 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 06:28:21 +00:00
Henri Yandell e5763ff6f0 Adding a test to enforce the CharSequence vs String contract for StringUtils. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089742 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:22:01 +00:00
Henri Yandell 7a37a3deb2 Adding missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089741 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:02:00 +00:00
Henri Yandell fb79157dbb Adding NOPMD tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089740 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:01:54 +00:00
Henri Yandell d6fe7f6789 Adding NOPMD tags for various empty catch blocks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089736 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:39:33 +00:00
Henri Yandell b9b11b94c8 Adding javadoc for the new regionMatchesSequence method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089734 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:37:52 +00:00
Henri Yandell 5a7b17cf3e Reapplying more of Oliver's checkstyle fixes from r1083211
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089733 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:34:35 +00:00
Henri Yandell 3b180e56c3 Moving N.B. to NOTE: to standardize that tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089730 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:14:33 +00:00
Henri Yandell 473359a5cc Moving a startsWith test to the right test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089726 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:05:57 +00:00
Henri Yandell 3dc67a2a4a Added CharSequence endsWithAny and startsWithAny tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089725 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:04:26 +00:00
Henri Yandell cc3b4d31bc Implemented the native CharSequence version of toCharArray
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089724 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:03:55 +00:00
Henri Yandell d1b24a3fea Moving equalsIgnoreCase, indexOfIgnoreCase, lastIndexOfIgnoreCase and containsIgnoreCase to the CharSequence API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089695 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 00:24:50 +00:00
Henri Yandell 3af0fd99d1 Adding green regionMatches implementation and moving endsWith and startsWith methods to use it; thus giving them CharSequence based APIs. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089540 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 17:21:36 +00:00
Henri Yandell 5b8fd90207 Rolling back accidental r1089306 commit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089307 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:36:35 +00:00
Henri Yandell 09cf7964fc Moving countMatches, ordinalIndexOf and lastOrdinalIndexOf over to a CharSequence-based API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089306 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:34:26 +00:00
Henri Yandell 50f136c874 Moving countMatches, ordinalIndexOf and lastOrdinalIndexOf over to a CharSequence-based API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089305 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:31:22 +00:00
Henri Yandell 3d041e3560 Moving stripAccents to accepting String instead of CharSequence. Even though the underlying Java API takes CharSequence, it makes for a clumsy interface and it is better to encourage the user to handle their own toString. Related to LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089303 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:16:17 +00:00
Henri Yandell 6dfc599a23 Replacing some of the older code. When performing a mutation operation (even if it's on an immutable by returning a new instance), String should go in and String should come out. When performing a non-mutation operation, CharSequence should be passed in. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089302 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:11:31 +00:00
Henri Yandell 3a0c152c22 Removing @author tags per thread on dev@: http://mail-archives.apache.org/mod_mbox/commons-dev/201104.mbox/%3CBANLkTikEa6GNSghx5VidxgNqi3nmKxxcVA@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088899 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 05:31:27 +00:00
Matthew Jason Benson 1dd3a636aa varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088656 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 14:55:08 +00:00
Henri Yandell 325648a185 Rolling capitalize and uncapitalize back from (CharSequence) to (String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088505 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:42:38 +00:00
Henri Yandell 9946140913 Rolling StringUtils and test code back to r1082046. The move to CharSequence is theoretically desirable, but there are no common immutable CharSequence subclasses other than String, making this a complex and useless change. Instead StrBuilder should be enhanced. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088444 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 23:41:59 +00:00
Henri Yandell f5a6dc28f5 Setting the length of the new array to optimize speed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088439 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 23:35:59 +00:00
Henri Yandell a859fffc0a Removing unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088424 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 21:45:35 +00:00
Matthew Jason Benson 9f7311fa2f varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088344 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:30:34 +00:00
Matthew Jason Benson ff5d71e1c1 varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088343 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:25:36 +00:00
Matthew Jason Benson f10738fcb5 merge CharSetUtils String[] and String method forms to String...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088340 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:19:31 +00:00
Matthew Jason Benson 125aa57018 merge CharSet getInstance/constructor String[] and String forms to String...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088339 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:14:50 +00:00
Matthew Jason Benson 3541b7848a javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083850 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:59:10 +00:00
Matthew Jason Benson 05510d7079 retract @Nonbinding support; doesn't seem proper default behavior
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083849 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:58:07 +00:00
Matthew Jason Benson 85b9694d48 javadoc refactoring + many @code tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083833 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:29:45 +00:00
Matthew Jason Benson fb173be6ce test tweaks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083503 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 16:58:55 +00:00
Matthew Jason Benson b39944f756 test @Nonbinding support
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083502 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 16:55:24 +00:00
Oliver Heger 8fdbe09405 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083232 13f79535-47bb-0310-9956-ffa450edef68 2011-03-19 16:56:23 +00:00
Oliver Heger 1d0e73a682 Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083229 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:55:23 +00:00
Oliver Heger 6e547b34b4 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083228 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:53:44 +00:00
Oliver Heger 8de56221fd Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083222 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:45:59 +00:00
Oliver Heger 93598f906b Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083221 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:44:54 +00:00
Oliver Heger a2d928146c Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083220 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:43:58 +00:00
Oliver Heger b78378ca53 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083218 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:42:55 +00:00
Oliver Heger 57706fae97 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083217 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:41:05 +00:00
Oliver Heger 33c75a4ac8 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083216 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:38:57 +00:00
Oliver Heger 4c8462b9f5 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:36:39 +00:00
Oliver Heger d12117713b Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083211 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:32:34 +00:00
Oliver Heger e6f9e6c973 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083207 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:09:23 +00:00
Oliver Heger 32fd2eeb29 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083206 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:07:20 +00:00
Oliver Heger c509d13abe Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083201 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:01:48 +00:00
Oliver Heger 210709ed3d Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083200 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:01:06 +00:00
Oliver Heger cd23f77879 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083198 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:50:58 +00:00
Oliver Heger c0798a65fc Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083197 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:47:45 +00:00
Oliver Heger cf38b99ba8 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083195 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:41:46 +00:00
Matthew Jason Benson 8ec9dee44f respect @javax.enterprise.util.Nonbinding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083107 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 23:25:09 +00:00
Oliver Heger a68f9dadd5 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083068 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:55:28 +00:00
Oliver Heger 37a40f70ec Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083066 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:53:52 +00:00
Oliver Heger 24e94b5651 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083060 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:51:03 +00:00
Oliver Heger e8c97dc4e7 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083058 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:46:55 +00:00
Oliver Heger ee0e27d638 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:33:01 +00:00
Oliver Heger 2fe3cb939e Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083053 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:31:33 +00:00
Oliver Heger 7fa56af132 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083052 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:29:53 +00:00
Oliver Heger ced4aa7699 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083050 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:29:22 +00:00
Oliver Heger 79b12edbf3 Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083047 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:23:48 +00:00
Oliver Heger c7b47ab255 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083046 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:23:31 +00:00
Oliver Heger ea0b008c98 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083045 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:23:11 +00:00
Oliver Heger 97906e5c3d Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083044 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:22:42 +00:00
Henri Yandell e11cafae80 Removing the unnecessary sequenceToString method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082817 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 03:42:17 +00:00
Sebastian Bazley adea6bf13a Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082562 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 16:18:34 +00:00
Sebastian Bazley a4a6904b72 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082557 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 16:17:32 +00:00
Sebastian Bazley 2f35b447d8 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082550 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 16:12:32 +00:00
Henri Yandell 7ad9931d44 Adding comment on the hidden (for now) methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082416 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 06:59:15 +00:00
Henri Yandell 5a33586c24 Moving contains(String, int) over to CharSequence. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082414 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 06:55:46 +00:00
Henri Yandell 14efcf4e7c Moving lastIndexOf, contains, containsWhitespace, indexOfAny, containsAny, indexOfAnyBut, containsOnly, containsNone and substring over to using CharSequences for parameters. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082413 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 06:52:05 +00:00
Oliver Heger c2783da968 Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082306 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:27:13 +00:00
Oliver Heger c0b8a99ab0 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082304 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:24:13 +00:00
Oliver Heger 79fb5075bc Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082303 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:19:12 +00:00
Oliver Heger f241657448 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082302 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:08:27 +00:00
Oliver Heger 68cf378ea3 Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082301 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:02:15 +00:00
Oliver Heger 65667844fe Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082300 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 21:00:56 +00:00
Oliver Heger a8c12eaa1d Fixed checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082299 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 20:58:38 +00:00
Henri Yandell eef3ffe0e2 Moving indexOf(String, String) and indexOf(String, String, int) over to CharSequence. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082066 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 06:18:42 +00:00
Henri Yandell 363d1f2704 Moving indexOf(String, int) and indexOf(String, int, int) over to CharSequence. LANG-687. This, plus the same happening for the String, String, int variant will open up a lot of methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082062 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 06:11:32 +00:00
Henri Yandell fede6b1ecc Moving center, left, leftPad, right, rightPad, mid, upperCase, lowerCase and swapCase over to CharSequence input. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 05:31:51 +00:00
Henri Yandell 0bc3750606 Moving abbreviate + abbreviateMiddle to CharSequences
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082051 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 05:04:45 +00:00
Henri Yandell 196067da97 Removing CharSequenceUtils in favour of putting the code in StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082046 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 04:39:17 +00:00
Henri Yandell e5b0844c4f Adding lots of @since 3.0s
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082044 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 04:26:58 +00:00
Henri Yandell edcfd40d71 Fixing LANG-685 so that EqualsBuilder synchronizes on itself and not HashCodeBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1082042 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 03:53:22 +00:00
Gary D. Gregory dd84146bd1 Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079847 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 15:43:11 +00:00
Sebastian Bazley 6a7a1ed476 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079423 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:38:09 +00:00
Sebastian Bazley 703db76ef4 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079422 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:34:59 +00:00
Sebastian Bazley fe81ef05b0 Cannot use {@code} to enclose text that includes {}
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079421 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:33:15 +00:00
Sebastian Bazley efc7ed5eca Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079419 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:30:30 +00:00
Sebastian Bazley ffb2308e76 Cannot use {@code} to enclose text that includes {}
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079418 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:29:48 +00:00
Sebastian Bazley 685075984b Fix incorrect Javadoc re thrown exceptions; requires further change to private method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079417 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:24:00 +00:00
Henri Yandell 339558e885 Fixing javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079271 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 06:10:28 +00:00
Henri Yandell 803687227f Adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079249 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 06:00:22 +00:00
Henri Yandell 8542ccb689 Dropping the concat methods. Moving the join(Object[]) to join(Object...). LANG-396. LANG-683.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079173 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 05:34:01 +00:00
Henri Yandell 3456b2b6b1 Adding Javadoc to public constants - LANG-682
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1079169 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 05:20:12 +00:00
Matthew Jason Benson b4e69a6efc Decompose pair into an abstract class with element accessor methods + mutable/immutable concrete expression classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078889 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 18:47:09 +00:00
Sebastian Bazley dbd36d9f55 Javadoc fix - duplicated line (looks like auto <code> fix did not work)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078064 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:31:27 +00:00
Stephen Colebourne 0ca84735ad Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078032 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 16:07:14 +00:00
Stephen Colebourne ef14f844cc Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078015 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:42:40 +00:00
Stephen Colebourne 48b657d4db Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078013 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:37:12 +00:00
Stephen Colebourne 4b615e2319 Use new feature for implementing isSupported(); Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1078006 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:31:49 +00:00
Stephen Colebourne 81b5d12e81 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077992 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:08:53 +00:00
Stephen Colebourne c21a7a26c0 Use concurrent instead of synchronization; Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077984 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:59:22 +00:00
Stephen Colebourne 1e2b9eb078 Javadoc and clarify null handling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077977 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:46:03 +00:00
Stephen Colebourne 30c4689bca Javadoc and add toString()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077967 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:34:05 +00:00
Stephen Colebourne e4671b466d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077965 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:27:50 +00:00
Stephen Colebourne cde62a69e1 Use private UTC constant to avoid corruption of mutable constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077943 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:42:49 +00:00
Stephen Colebourne f68bbdbbb5 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077942 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:41:41 +00:00
Stephen Colebourne 3f4676370a Make rounding mode constants private, as they are unused in public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077935 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:31:39 +00:00
Stephen Colebourne 5bc14f89d1 Document mutability of UTC constant, which isn't ideal
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077934 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:30:35 +00:00
Stephen Colebourne f446d290d6 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077933 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:29:01 +00:00
Stephen Colebourne bbc7fd046a Fix order of modifiers to public static final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077925 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:00:05 +00:00
Stephen Colebourne 40a5b587d0 Add serialization version ID
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077922 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:55:37 +00:00
Stephen Colebourne 79cddd4ea5 Fix brace positions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077921 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:54:18 +00:00
Stephen Colebourne 30e369723d Javadoc ArrayUtils.toArray()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077915 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:41:48 +00:00
Stephen Colebourne 3ac961a314 [LANG-492] Revert deletion of ArrayUtils.hashCode()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077910 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:31:24 +00:00
Stephen Colebourne c7f93ca309 Add thread-safe annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077903 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:24:12 +00:00
Stephen Colebourne ee17d69249 Javadoc; Move @since; Add documented constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077901 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:23:25 +00:00
Stephen Colebourne 4046e160ff Avoid throwing checked exceptions from AnnotationUtils.hashCode()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077895 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:11:41 +00:00
Stephen Colebourne ed69b85620 Additional Javadoc; Remove IllegalArgumentException from throws clause
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077892 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 12:03:22 +00:00
Henri Yandell ef3132ba09 Changing Range.containsRange to containsAll and Range.overlapsRange to overlapsWith
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077823 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 06:12:56 +00:00
Henri Yandell 0c0a145ea2 Adding note on thread safety and fixing a piece of javadoc that still talked about numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077822 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 06:09:14 +00:00
Henri Yandell ff0b834cf4 Adding a header for the exception section
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077821 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 05:45:08 +00:00
Joerg Schaible b9c088ac8d Fix missing new in example. Fix javadoc. Fix code style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1076703 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 17:48:24 +00:00
Henri Yandell 3ed85bb87d Updating the site for 3.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1076542 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:15:07 +00:00
Henri Yandell 3ff4ee6c28 Reversing 3.0 and 2.6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1076541 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:15:01 +00:00