Commit Graph

3070 Commits

Author SHA1 Message Date
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
Gary D. Gregory e3cb1c6c0a Add build.properties to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142201 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 11:02:44 +00:00
Gary D. Gregory 1794482d33 (LANG-711) [patch] add includeantruntime=false to javac targets to quell warnings in ant 1.8.1 and better (and modest performance gain). Apply patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142199 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 10:58:55 +00:00
Gary D. Gregory d42188e89b (LANG-711) [patch] add includeantruntime=false to javac targets to quell warnings in ant 1.8.1 and better (and modest performance gain). Apply patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142198 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 10:57:20 +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 da62188954 reset to SNAPSHOT; per our release instructions there is at least one way to create the tag such that the removal of the SNAPSHOT designation takes place in the same commit as the tag creation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1137089 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 00:03:40 +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 a0512c014e note LANG-684 in release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1137084 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 23:47:52 +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
Gary D. Gregory 7138e054f3 Generate test jar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1099665 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 02:13:06 +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 8a39fd4651 Setting back to 3.0 for RC generation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1097698 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 06:08:22 +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