Commit Graph

1257 Commits

Author SHA1 Message Date
Stephen Colebourne b0082bc606 Document and fix fraction reduction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279983 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 09:55:12 +00:00
Stephen Colebourne bf54dcd449 Avoid exposing testing method in public API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279979 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 09:36:15 +00:00
Stephen Colebourne 7c818a9f22 Optimize the performance of StringUtils.replace
bug 36583, from Chris Hyzer

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279977 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 09:29:48 +00:00
Stephen Colebourne 7240ef6dec Add javadoc, in line with Comparable, to indicate '1/2'.compareTo('2/4') = 0
bug 36527

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279140 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 21:57:36 +00:00
Henri Yandell 4fa26058d0 Killing the lang sandbox component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263951 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:32:28 +00:00
Henri Yandell eadf358a68 Killing the lang sandbox component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263950 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:32:16 +00:00
Henri Yandell 20fe20ee6f Killing the lang sandbox component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263949 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:31:26 +00:00
Henri Yandell 21c357df5e Killing the lang sandbox component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263948 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:31:11 +00:00
Gary D. Gregory b26d9c7877 clone method is now full covered in unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263912 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 20:23:22 +00:00
Gary D. Gregory fe4956d5ab Increase unit test coverage %.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263903 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 19:02:31 +00:00
Stephen Colebourne 30f26a440a Fix javadoc comment
from Rahul Akolkar

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240462 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 21:53:57 +00:00
Stephen Colebourne e763c5a388 Add toType methods to return the primitive wrapper object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240419 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 14:02:07 +00:00
Stephen Colebourne 7ea69942ef Fix IndexOutOfBoundsException on padding
bug 35756, from Reuben Sivan

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240418 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 13:40:14 +00:00
Stephen Colebourne 60c6443387 Add trim()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240406 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 11:46:31 +00:00
Stephen Colebourne 112d13fa39 Add equals, equalsIgnoreCase and hashCode
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240404 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 11:31:23 +00:00
Stephen Colebourne cb3ac6dd3d Remove extraneous this object references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240402 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 10:34:09 +00:00
Stephen Colebourne 44e2825d74 Fix license, style and svn properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@240401 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 10:26:53 +00:00
Gary D. Gregory c6068f4733 Comment out System.out call in unit test.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@239741 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 19:38:21 +00:00
Gary D. Gregory adf32bb9ff Refactor multiple instances of the same string literal into a default message string static.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@239739 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 19:37:48 +00:00
Steven Caswell eecd6b3a42 corrected isAllSet test on zero value
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234413 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 01:25:29 +00:00
Gary D. Gregory f9c0dca1bf Removed extra () layer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234412 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 01:20:12 +00:00
Steven Caswell 57fbefb6e6 added tests to increase test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234410 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:58:53 +00:00
Steven Caswell 59446e8175 increase StringUtils test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234409 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:58:24 +00:00
Steven Caswell 76225d79d6 increase WordUtils test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234408 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:57:19 +00:00
Steven Caswell d52b75e314 increase Validate test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234407 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:55:37 +00:00
Steven Caswell 8ed194eb19 increase SerializationUtils test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234406 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:54:27 +00:00
Steven Caswell 40e8865efe increase NotImplementedException test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234405 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:53:08 +00:00
Steven Caswell 237ae10521 increase IntHashMap test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234404 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:52:20 +00:00
Steven Caswell 795e0d8874 increase IllegalClassException test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234403 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:51:50 +00:00
Steven Caswell 98e0d26cc9 increase Entities test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234402 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:51:14 +00:00
Steven Caswell 2b3fe03972 increase CharUtils test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234401 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:50:53 +00:00
Steven Caswell aeadf7c29c increase CharRange test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234400 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:50:30 +00:00
Steven Caswell 2390bb5c40 increase BitField test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234399 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:49:57 +00:00
Steven Caswell 890501b707 increase ArrayUtils test coverage as reported by clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234394 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 00:16:03 +00:00
Gary D. Gregory b71a6cd002 Improve unit test coverage, eating own dog food. TODO: Missing tests for many constructors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234385 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 22:55:52 +00:00
Gary D. Gregory 0d0b5165e9 Fix clone() and add a unit test.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234360 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 21:57:01 +00:00
Gary D. Gregory 9a6a8b6862 Unnecessary cast from char[] to char[].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234327 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 19:38:56 +00:00
Gary D. Gregory 3196dafff0 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234325 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 19:32:28 +00:00
Gary D. Gregory 160ff8f627 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234322 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 19:25:21 +00:00
Stephen Colebourne ee2eef5316 Rewrite internal implementation, fix bugs, improve tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234128 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 20:15:08 +00:00
Stephen Colebourne 6052f6f194 Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234034 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 14:46:22 +00:00
Stephen Colebourne 4e6f3f08fe Enable chaining of methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234032 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 14:34:59 +00:00
Stephen Colebourne e477b24ec2 Improve javadoc about the reader/writer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234031 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 14:06:10 +00:00
Stephen Colebourne 12f22030be Don't clone char array input, and handle nulls better
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234028 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 13:58:41 +00:00
Stephen Colebourne 79238a4972 Ensure that the reader is a proper view
(previously if the builder buffer changed due to appends after creating the reader these weren't picked up)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234027 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 13:56:44 +00:00
Stephen Colebourne 885f92cfa7 Remove StringPrintWriter (package scoped) as performed no useful purpose
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234019 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 11:16:54 +00:00
Stephen Colebourne 554b667e9f Fix null handling behaviour on char[] methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234018 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 10:56:46 +00:00
Stephen Colebourne a751d82424 Add appendNewLine()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@234016 13f79535-47bb-0310-9956-ffa450edef68
2005-08-20 10:14:16 +00:00
Stephen Colebourne 04e1537d3c Initial version of LocaleUtils for review of concept
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@233061 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 21:41:26 +00:00
Stephen Colebourne 6811e7b373 Increase test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232895 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 22:07:49 +00:00
Stephen Colebourne 39a9cd103a Add serialization version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232882 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 21:04:19 +00:00
Stephen Colebourne 5566627f88 Increase test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232879 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 20:58:53 +00:00
Stephen Colebourne a5311d05af Remove StrTokenizer.Matcher, replace with StrMatcher
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232878 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 20:58:23 +00:00
Stephen Colebourne eea36f49f6 Increase test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232876 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 20:57:06 +00:00
Stephen Colebourne 922d48ed40 Increase the number of methods that can chain
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232656 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 21:55:58 +00:00
Stephen Colebourne 810e69f7a4 Add StrMatcher and update StrBuilder and test cases to use it, plus fix other bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232652 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 21:45:47 +00:00
Gary D. Gregory 512574a908 Clean up of one method from Nathan Beyer [nbeyer@kc.rr.com]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232210 13f79535-47bb-0310-9956-ffa450edef68
2005-08-12 05:31:25 +00:00
Gary D. Gregory 9dfd3b4e8e Patches to increase test coverage from Nathan Beyer [nbeyer@kc.rr.com]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@232202 13f79535-47bb-0310-9956-ffa450edef68
2005-08-12 04:36:42 +00:00
Gary D. Gregory 030267a91b Better exception messages.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@231331 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 21:22:11 +00:00
Gary D. Gregory 1c57bb797d Replaced VariableFormatter.Token with java.text.FieldPosition.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@231330 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 21:21:52 +00:00
Gary D. Gregory e4812f52ba Integrate and tweak http://issues.apache.org/bugzilla/show_bug.cgi?id=35588.
Next: Try and replace VariableFormatter.Token with java.text.FieldPosition.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@231316 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 20:36:26 +00:00
Gary D. Gregory d1bd992c69 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 23:59:16 +00:00
Stephen Colebourne 2f6b0b2c69 Fix indexOf and lastIndexOf with null input
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230921 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 23:15:04 +00:00
Stephen Colebourne d7210650ff Add asWriter()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230918 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 22:44:59 +00:00
Stephen Colebourne 5108fdc8fc Move reverse method in file to be with other methods returning this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230912 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 22:05:19 +00:00
Stephen Colebourne eac9add081 Add append(StringBuffer,int,int) and append(StrBuilder,int,int)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230911 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 22:03:31 +00:00
Stephen Colebourne 3aa15e0c47 Test for correct exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230908 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 21:53:55 +00:00
Stephen Colebourne e6f6b0dbfa Fix setLength()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230906 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 21:50:57 +00:00
Stephen Colebourne 8048e49d99 Fix javadoc, notably exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230904 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 21:46:58 +00:00
Stephen Colebourne ff6bf42b60 Add append(String, int, int)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230902 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 21:43:39 +00:00
Gary D. Gregory 5346b0d03c Fix some Checkstyle and PMD warnings. Extract constants from in-lined '\n' and '\r' in StringUtils.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230857 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 18:58:58 +00:00
Gary D. Gregory 1a824f69ad Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230836 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 18:20:13 +00:00
Gary D. Gregory ea5f046469 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230717 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 00:43:36 +00:00
Gary D. Gregory 5f0e40893d Fix PMD warning: Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230715 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 00:05:21 +00:00
Gary D. Gregory 707e1a4a0b [Bug 36059] [lang] Wrong length check in StrTokenizer.StringMatcher. From Oliver Heger <oliver.heger@t-online.de>.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230565 13f79535-47bb-0310-9956-ffa450edef68
2005-08-06 18:53:57 +00:00
Gary D. Gregory 1225f4309c Slightly increments the test coverage for NestableDelegate. Includes a rework of the getMessage(String) method. Courtesy of Nathan Beyer [nbeyer@kc.rr.com].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@230403 13f79535-47bb-0310-9956-ffa450edef68
2005-08-05 06:16:19 +00:00
Stephen Colebourne 93a49f6cb0 Add asReader method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@227320 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 07:53:46 +00:00
Gary D. Gregory e77e2124c4 Use the name "buffer", not "buf".
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@227240 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 18:02:35 +00:00
Gary D. Gregory dcfba435bb Use CAPACITY, not literal magic number.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@227239 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 18:00:04 +00:00
Gary D. Gregory 614accbff9 Coverage of StrBuilder#delete(String)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@227156 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 04:23:16 +00:00
Gary D. Gregory 097438b3b1 Fixes and better unit test code coverage from Nathan Beyer [nbeyer@kc.rr.com].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@227149 13f79535-47bb-0310-9956-ffa450edef68
2005-08-03 02:50:53 +00:00
Gary D. Gregory ee5b770b08 Fixes and better unit test code coverage from Nathan Beyer [nbeyer@kc.rr.com].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226934 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 03:54:55 +00:00
Gary D. Gregory 93b5f2a7ac [Bug 35966] - [lang] StrBuilderTest#testReplaceStringString fails. From Nathan Beyer nbeyer@kc.rr.com.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226922 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 01:03:45 +00:00
Gary D. Gregory 23845c1751 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226862 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 19:40:49 +00:00
Gary D. Gregory 159999da0c More tests. Note that testReplaceStringString fails.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226860 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 19:34:19 +00:00
Gary D. Gregory 020480ad81 Better unit test code coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226713 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 01:21:29 +00:00
Gary D. Gregory 2b6e554ccf Better unit test coverage for StrTokenizer.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226712 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 01:14:57 +00:00
Gary D. Gregory e47b5d8e75 Better unit test code coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226708 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 00:30:42 +00:00
Gary D. Gregory 1e3ecfff20 Slightly better unit test code coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226704 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 23:55:24 +00:00
Gary D. Gregory 1b8becc1c1 Range unit test coverage now at 100%.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226703 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 23:40:55 +00:00
Gary D. Gregory b8c069723e Better unit test code coverage from Nathan Beyer [nbeyer@kc.rr.com].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226702 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 23:33:32 +00:00
Gary D. Gregory 2a760cb9d5 Replace unnecessary else in if/else's with if guard clause.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226598 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 01:19:22 +00:00
Gary D. Gregory 3535bf265b Better code coverage from Nathan Beyer [nbeyer@kc.rr.com].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226597 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 01:17:01 +00:00
Gary D. Gregory be164675fe Format tweak in a while statement to attempt to get Clover to show better code coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226584 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 21:53:49 +00:00
Gary D. Gregory 914aec8ee8 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226583 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 21:52:16 +00:00
Gary D. Gregory cf0dda8853 Remove unused @param tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225329 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:28:49 +00:00
Gary D. Gregory 5aeb66d2bf Another new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225184 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 21:11:32 +00:00
Gary D. Gregory abbe3f0e26 IllegalStateException in text.VariableFormatter with "empty" keys.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225179 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 20:52:08 +00:00
Gary D. Gregory d1f1606960 Another new boundary tests for VariableFormatterTest.java: testReplaceEmptyKeys.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@225152 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 16:43:07 +00:00
Gary D. Gregory 7785367406 Another new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224650 13f79535-47bb-0310-9956-ffa450edef68
2005-07-24 20:09:42 +00:00
Gary D. Gregory 16630b35f6 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224562 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 22:27:12 +00:00
Gary D. Gregory c8d6447928 Three new boundary tests for VariableFormatterTest.java.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224561 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 22:26:02 +00:00
Gary D. Gregory cdb9168538 Removes Interpolation and MappedMessageFormat from the text package in favor of VariableFormatter. (See message below) No one has complained on commons-dev.
-----Original Message-----
From: Gary Gregory [mailto:ggregory@seagullsoftware.com] 
Sent: Thursday, July 21, 2005 9:34 AM
To: Jakarta Commons Developers List
Subject: [lang] text.VariableFormatter to replace Interpolation and MappedMessageFormat (WAS a [POLL])

Hello:

It's been two weeks since I posted the original message below and I've
not heard negative comments on removing Interpolation and
MappedMessageFormat from the text package in favor of VariableFormatter.
I will therefore do so real soon. 

Please raise your hand you disagree.

Thanks,
Gary


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224558 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 21:56:59 +00:00
Gary D. Gregory 7952a55254 Removes Interpolation and MappedMessageFormat from the text package in favor of VariableFormatter. (See message below) No one has complained on commons-dev.
-----Original Message-----
From: Gary Gregory [mailto:ggregory@seagullsoftware.com] 
Sent: Thursday, July 21, 2005 9:34 AM
To: Jakarta Commons Developers List
Subject: [lang] text.VariableFormatter to replace Interpolation and MappedMessageFormat (WAS a [POLL])

Hello:

It's been two weeks since I posted the original message below and I've
not heard negative comments on removing Interpolation and
MappedMessageFormat from the text package in favor of VariableFormatter.
I will therefore do so real soon. 

Please raise your hand you disagree.

Thanks,
Gary


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@224556 13f79535-47bb-0310-9956-ffa450edef68
2005-07-23 21:48:28 +00:00
Gary D. Gregory cbb4f55bff Make testing equality more flexible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@220158 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 18:13:30 +00:00
Gary D. Gregory 0ce9977fa3 - VariableFormatter.java now gets 98.7% clover coverage.
- MapVariableFormatter.java now gets 100% clover coverage.
- Javadocs.
- Constructor clean ups.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219119 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:24:17 +00:00
Stephen Colebourne 0a92b2c279 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219118 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:09:50 +00:00
Stephen Colebourne 66f83099a5 Fix ClassUtils.primitiveToWrapper() to handle Void.TYPE
bug 34327, from Alban Peignier

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219117 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 22:08:08 +00:00
Stephen Colebourne 5b5d6b23d1 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219116 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 21:54:47 +00:00
Stephen Colebourne afcdb367ad Add text package tests back into commons-lang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219114 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 21:48:13 +00:00
Gary D. Gregory 44334fdc98 [34715][lang] unit test for org.apache.commons.lang.text.StrBuilder.
Patch applied, thanks.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219083 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:52:31 +00:00
Gary D. Gregory 421ba4c94c [Bug 35588] - [lang] New interpolation features.
Retro-fits the VariableResolver interface into the VariableFormatter class and provides a Map-backed VariableResolver implementation.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219076 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:21:47 +00:00
Gary D. Gregory ce389de49f Temp Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@219074 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 19:16:10 +00:00
Steven Caswell 0357006d9d applied javadoc cleanup patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=35676 (did not apply the VariableFormatter javadoc path since this class is still being worked)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209978 13f79535-47bb-0310-9956-ffa450edef68
2005-07-10 00:44:18 +00:00
Stephen Colebourne 32e80fc5e8 New methods and testing of StrBuilder
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209943 13f79535-47bb-0310-9956-ffa450edef68
2005-07-09 13:41:02 +00:00
Gary D. Gregory 85c052b7b8 Removed extra ()'s.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209631 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 18:47:50 +00:00
Stephen Colebourne e2ef9f095a Move ignore method to correct place in file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209537 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 23:11:46 +00:00
Stephen Colebourne 9d25ee76f8 Tidy javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209531 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 22:35:51 +00:00
Gary D. Gregory f994c98c39 Renamed VariableFormat to VariableFormatter since it is not a subclass of java.text.Format.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209509 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 20:33:21 +00:00
Steven Caswell 6b869ef899 added comment to denote empty catch block
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209375 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:18:57 +00:00
Steven Caswell fc794c60ef changed constructor empty statement to super
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209374 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:17:48 +00:00
Steven Caswell 0732223726 removed empty statement from catch block that takes no action, using comment only to denote no action;
added super to empty constructors

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209373 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:15:52 +00:00
Steven Caswell 8abba8d533 added super to empty constructors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209372 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:12:46 +00:00
Steven Caswell 554a0a8c45 removed empty statement from catch block that takes no action, using comment only to denote no action
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209371 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 01:10:57 +00:00
Gary D. Gregory 5ec8a51d09 Towards version 2.2:
- Set the component version to 2.2-dev.
 - Add .text classes VariableFormat and VariableFormatTest.
 - Enable build of .text package.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209296 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 16:27:10 +00:00
Gary D. Gregory 6d861c9098 Towards version 2.2:
- Set the component version to 2.2-dev.
 - Add .text classes VariableFormat and VariableFormatTest.
 - Enable build of .text package.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209004 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 01:25:30 +00:00
Steven Caswell 53416f1e4f added javadocs to inner class constructors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202055 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:41:03 +00:00
Steven Caswell 3eea891169 added missing javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202052 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:34:13 +00:00
Steven Caswell 80dd30415e added invocation of super() to constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202044 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:25:23 +00:00
Steven Caswell 12431fdb8f added empty statement to empty catch blocks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@202043 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 20:24:10 +00:00
Steven Caswell ebff428ba5 chanegd empty statement in constructor to invocation of super()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201930 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 00:54:42 +00:00
Steven Caswell 6c691d01bd corrected style issues (mostly empty blocks and missing javadocs)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201883 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:48:18 +00:00
Steven Caswell b73111983b corrected style issues (mostly empty blocks and missing javadocs)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201882 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:45:54 +00:00
Steven Caswell 4f7de5d638 corrected style issues (mostly empty blocks and missing javadocs)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201881 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 17:42:09 +00:00
Steven Caswell 687bb75889 (35366) Implementation of escape/unescapeHtml methods with Writer (http://issues.apache.org/bugzilla/show_bug.cgi?id=35366)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201875 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 16:56:36 +00:00
Gary D. Gregory 7a16f45c54 Changed @since 2.1 to @since 2.2 since these files did not make it into 2.1.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@201661 13f79535-47bb-0310-9956-ffa450edef68
2005-06-24 18:35:08 +00:00
Stephen Colebourne 1e1da2d2c7 Javadoc fix intended for 2.1 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@189443 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 21:28:07 +00:00
Gary D. Gregory 43f7a149e0 I've finally worked out the oddball build and class loading issue that only seems to happen on Windows XP (SP2) since Simon reports that the ant build works fine for him on Linux.
I can report success with "ant clean dist-build-2.1 test" on Sun Java versions:

1.5.0_03
1.5.0_02
1.4.2_08
1.3.1_14

In order achieve this; the new build.xml depends on Ant 1.6.

Version 1.2.2_017 hangs miserably for me though, as it did before.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179242 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 17:48:08 +00:00
Gary D. Gregory 46fe76f81a Javadoc method ClassUtilsTest#newSystemClassLoader() while looking for Sun Java 1.3.1 build issues on Windows XP. See http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=111738085310708&w=2
modified   ClassUtilsTest.java


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@179179 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 02:18:27 +00:00
Steven Caswell 630e5aec86 added guard around some rounding tests that do not work in JDK versions prior to 1.4
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@178911 13f79535-47bb-0310-9956-ffa450edef68
2005-05-29 01:10:24 +00:00
Gary D. Gregory 57423f259f Specification-Version: 2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@170672 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 21:41:48 +00:00
Gary D. Gregory f9e986558f [Bug 34715][lang] unit test for org.apache.commons.lang.text.StrBuilder.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@166042 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 23:04:47 +00:00
Gary D. Gregory 7771e18974 A good start for: [Bug 34715][lang] unit test for org.apache.commons.lang.text.StrBuilder. From heuermh@acm.org.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165710 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 22:55:31 +00:00
Gary D. Gregory a22cada514 Replace the Javadoc pattern "A Matcher which matches the XXX character." with "Matches the XXX character.". (A matcher matches of course ;-) Use the active voice or “third-person verb form”, I only know it is called the “third-person verb form” because I read it in the most excellent tiny little book “The Elements of Java Style”.)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165694 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 21:16:58 +00:00
Gary D. Gregory 62746c899f Javadoc nit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165687 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 21:06:38 +00:00
Gary D. Gregory bc218db61c Fix 120-length warnings reported for 2.1-RC4 here: http://people.apache.org/~stevencaswell/commons-lang-2.1/docs/checkstyle-report.html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@165657 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 18:31:49 +00:00
Steven Caswell cd2d9b18c5 changed to reflect version 2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@164648 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 21:06:15 +00:00
Martin van den Bemt 363f779eb1 Change WordWrapUtils to WordUtils.. Just noticed it in the javadocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161678 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 18:42:40 +00:00
Gary D. Gregory 5e18fd65ff Updated copyright statements for 2005.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161244 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:16:36 +00:00
Gary D. Gregory 4f69e5183a Updated copyright statements for 2005.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161243 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 04:30:28 +00:00
Gary D. Gregory b0053ca691 Removed extra C style parens in return statements (as discussed on commons-dev).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@161229 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 22:36:48 +00:00
Gary D. Gregory 887d935024 In the .text package (not for 2.1):
- Javadoc nits: missing tags, wrong name in @param, "." in 1st line.
- Refactored magic number "32" into static final "CAPACITY".
- Removed extra C-style "return (expr)" in return expressions.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 20:11:40 +00:00
Henri Yandell fdaa1eb25a As far as I can tell, this method was in 2.0, so rolling the @since 2.1 back to 2.0. Hopefully this explains why JDiff thought it was a removed and added method signature
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160809 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 00:38:04 +00:00
Stephen Colebourne 371c34bbea Add StringUtils.defaultIfEmpty
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@160807 13f79535-47bb-0310-9956-ffa450edef68
2005-04-10 23:25:25 +00:00
Gary D. Gregory d5f32c231c Removed extra C style parens in return statements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@159551 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 00:56:20 +00:00
Henri Yandell 325c03b6c3 also commenting out import statement for text so this builds :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156333 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:05:25 +00:00
Henri Yandell b4e543ab8d commenting out the text tests as they will not be in the next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156332 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:03:31 +00:00
Henri Yandell b2f0bbd9aa added classic do not use this constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156331 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:01:38 +00:00
Henri Yandell 308009b9a1 Application of patch from Bugzilla: #33574, by Travis Stevens. Balances a call to appendFieldStart with an appendFieldEnd after appending the field. Test also included.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@156007 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 05:00:44 +00:00
Gary D. Gregory 634f0e9762 Remove unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155846 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 00:33:28 +00:00
Dirk Verbeeck cd34d6423d svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155423 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:08:30 +00:00
Gary D. Gregory aef69406ea Fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=33737.
[lang] ExceptionUtils.addCauseMethodName(String) does not check for duplicates.
Fix adds:
 ExceptionUtils.removeCauseMethodName(String)
 ExceptionUtils.isCauseMethodName(String)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155238 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 20:42:53 +00:00
Gary D. Gregory 9c273aa609 Fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=33737.
[lang] ExceptionUtils.addCauseMethodName(String) does not check for duplicates.
Fix adds:
 ExceptionUtils.removeCauseMethodName(String)
 ExceptionUtils.isCauseMethodName(String)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@155236 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 20:26:06 +00:00
Henri Yandell a6c13872d5 added missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151311 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:30:51 +00:00
Henri Yandell 8f21c196bb javadoc fixing, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151310 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:22:22 +00:00
Henri Yandell 228957a0e4 added javadoc and fixed long line as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151308 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:16:58 +00:00
Henri Yandell df21ea512e testing all primitive value methods, including the ones not implemented in the MutableXxx class so that we can tell when Sun change the wrapper implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151305 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:07:49 +00:00
Henri Yandell 2c13ceefd8 added javadoc to primitiveValue methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151304 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 03:07:18 +00:00
Henri Yandell 8520859c40 missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151300 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:42:03 +00:00
Henri Yandell 7cc5661f02 missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151299 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:40:43 +00:00
Henri Yandell 9016bcaf0e missing @return, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151298 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:39:28 +00:00
Henri Yandell 413cd09a61 removed tabs from source, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151296 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:37:55 +00:00
Henri Yandell bb99d6906b added missing javadoc for private method, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151295 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:37:30 +00:00
Henri Yandell 98a6ea6f1a added javadoc to private method, as per checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151294 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 02:32:43 +00:00
Henri Yandell 3378d09f16 rolling the forName method out for the 2.1 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@151282 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 01:21:19 +00:00
Henri Yandell ab27cc9c09 stab at making the javadoc a bit easier to understand
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149480 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 04:46:02 +00:00
Henri Yandell ba92e4d253 tested some missing bad states
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149477 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 03:52:50 +00:00
Henri Yandell dfed92e0fa removing nagoya references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@149100 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 04:22:37 +00:00
Henri Yandell 9bf6c67314 added Class.forName improvement to see what people think
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138016 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 06:45:11 +00:00
Henri Yandell 4af43102aa overloaded addAll for all primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138015 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 06:43:20 +00:00
Henri Yandell 838c1e7d0e primitive overloads added for add(array, int index, element)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138014 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 04:22:12 +00:00
Gary D. Gregory 73c601bed5 Add test from http://issues.apache.org/bugzilla/show_bug.cgi?id=33067.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138013 13f79535-47bb-0310-9956-ffa450edef68
2005-01-17 01:59:52 +00:00
Gary D. Gregory e3f46b722e No bug fix but add a test like http://issues.apache.org/bugzilla/show_bug.cgi?id=33069.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138012 13f79535-47bb-0310-9956-ffa450edef68
2005-01-16 19:34:34 +00:00
Stephen Colebourne cd9922ef8b ToStringStyle setArrayEnd handled null incorrectly
bug 31933, fix from Masato Tezuka


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138011 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 23:13:03 +00:00
Henri Yandell 2463fd3380 all non-covered parts of the code are now covered. 100% coverage for a package, while not in itself a great thing, feels damn good
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138010 13f79535-47bb-0310-9956-ffa450edef68
2004-12-26 02:35:47 +00:00
Henri Yandell 60666b2ae2 Default is meant to be for the trimmer to be a NoMatcher.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138009 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 21:02:20 +00:00
Henri Yandell 3155f2ce74 matching the other javadoc style; though I think it's a pretty useless bit of javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138008 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:42:48 +00:00
Henri Yandell b7e3f07c5f I assume this is a typo, a second setting of the trimmer matcher.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138007 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:41:23 +00:00
Henri Yandell bee437f63a Without this line the code infinite loops. With it the tests still fail, but a failure is nicer than an infinite loop.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138006 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 20:30:16 +00:00
Henri Yandell 91e2e8e838 Switched to use the static call explicitly (yup, I just started using Eclipse again)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138005 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 19:50:09 +00:00
Henri Yandell a776fd026c Unnecessary imports.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138004 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 19:43:51 +00:00
Henri Yandell bcd86e7fbe more test coverage of obscure situations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138003 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 17:52:19 +00:00
Matthew P. Inger 57b94c34ea Added a trimmer matcher which is now used to determine
which characters to trim off the left and right of tokens.
the ignore matcher is now truly an ignore matcher, which
will leave out any matching characters from all tokens.
I also fixed a few minor bugs.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138002 13f79535-47bb-0310-9956-ffa450edef68
2004-12-23 18:55:48 +00:00
Stephen Colebourne d669920cb2 Remove Class and Package comparators - too specific set of use cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138001 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 22:35:38 +00:00
Henri Yandell 74d20911d4 should now run the last bit of code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138000 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 03:30:38 +00:00
Henri Yandell a33961018a few more tests to get 100% coverage for Token
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137999 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 03:23:00 +00:00
Henri Yandell 8beb1547c6 Bug in javadoc example as described in Bugzilla entry 32198.
PR: 32198
Submitted by: Ronald Wildenberg


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137997 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 02:48:01 +00:00
Gary D. Gregory 46643a1325 Javadoc nits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137996 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 22:36:20 +00:00
Gary D. Gregory 1ad7fd1e5a Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137995 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:15:28 +00:00
Stephen Colebourne 167c031371 Handle Java version with text prefix, as found on HP-UX
bug 32123, from Jason Gritman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137994 13f79535-47bb-0310-9956-ffa450edef68
2004-11-12 00:48:41 +00:00
Gary D. Gregory bf0e5af79d Javadox typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137993 13f79535-47bb-0310-9956-ffa450edef68
2004-11-06 01:27:59 +00:00
Gary D. Gregory bbdd2932db Javadoc only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137992 13f79535-47bb-0310-9956-ffa450edef68
2004-10-21 01:18:34 +00:00
Stephen Colebourne ac517f7c0d Add parse method that handles multiple patterns
bug 30674


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137989 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 21:06:18 +00:00
Stephen Colebourne e08b9b890f Fix unescape to handle invalid entities
bug 29149, from Dan Goldberg


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137988 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 18:52:21 +00:00
Stephen Colebourne d728e81d69 Document how to format a date
from bug 21663


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137987 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 18:20:46 +00:00
Stephen Colebourne 084de396a7 Remove dead code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137986 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 18:13:34 +00:00
Stephen Colebourne d19d4a8521 Fix DateUtils.truncate oddity at the far end of the Date spectrum
bug 31395, from Marc Portier


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137984 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 17:43:05 +00:00
Stephen Colebourne 22269dccbe Improve example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137983 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 17:27:11 +00:00
Stephen Colebourne 61cccd3e0a Add methods to compare dates and calendars in different ways
based on bug 26922


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137982 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 17:08:42 +00:00
Stephen Colebourne cf9f073b26 Add since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137980 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 15:20:30 +00:00
Stephen Colebourne 7df3b63cb3 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137979 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 15:19:40 +00:00
Stephen Colebourne 1ae0107b35 Add initial version of StrBuilder, currently without any tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137978 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 15:09:52 +00:00
Stephen Colebourne 5111ae7db0 Rework DurationFormatUtils to have clearer API based on two types of formatting
Fix millisecond formatting bug


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137977 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 23:11:31 +00:00
Stephen Colebourne 275aab5d86 Fix test for changed exception message
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137976 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 23:10:33 +00:00
Stephen Colebourne 5417810157 Remove commented out code that never went anywhere
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137975 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 20:57:18 +00:00
Stephen Colebourne 092d2010eb Update Javadoc to better describe the behaviour and use cases of the exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137974 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 20:55:01 +00:00
Gary D. Gregory 3dbb90fe58 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137973 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 00:43:29 +00:00
Stephen Colebourne 4d7e4b5e78 Add Date equivalent of isSameDay method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137972 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 21:48:00 +00:00
Stephen Colebourne 097aa30a36 Remove lastIndex(), which is better done as getLength() - 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137971 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:56:16 +00:00
Stephen Colebourne f4f34dc60a Fix bug where add() didn't use array type
Remove unecessary calls to lastIndex() for performance


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137970 13f79535-47bb-0310-9956-ffa450edef68
2004-10-09 11:55:51 +00:00
Stephen Colebourne 657eac9347 Change behaviour of indexOf to match subclasses, with appropriate comments
bug 30929


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137969 13f79535-47bb-0310-9956-ffa450edef68
2004-10-09 10:45:24 +00:00
Stephen Colebourne fbaf1c371a Add additional method to support subclass searching of exceptions in a chain
bug 30929


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137968 13f79535-47bb-0310-9956-ffa450edef68
2004-10-09 10:04:04 +00:00
Gary D. Gregory 2610570ec1 Javadoc hashCode() more precisely.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137967 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 22:29:33 +00:00
Stephen Colebourne c1757779c6 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137966 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 22:10:37 +00:00
Stephen Colebourne 8f56942301 Extra tests based on Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137965 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 22:10:23 +00:00
Stephen Colebourne 468efa24c7 Rename allElementsOfClass to allElementsOfType, and change to instanceof check
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137964 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 21:44:41 +00:00
Stephen Colebourne b2214a272b Remove wrong Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137963 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 21:33:03 +00:00
Stephen Colebourne ad794c4978 Add isTrue and isFalse methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137962 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 21:27:00 +00:00
Gary D. Gregory 49e1f137eb - Added javadoc package.html
- Removed all "implements java.io.Serializable" since java.lang.Number already declares it.
- New Javadoc for equals(Object) methods to match Number subclasses, in particular to provide more details for Float and Double.
- equals(Object) methods now use /type/Value() calls instead of ".value" direct references (similar impl to Number subclasses).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137961 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 19:45:46 +00:00
Stephen Colebourne beed062120 Add since tags for 2.1 and fix Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137960 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 00:11:22 +00:00
Stephen Colebourne c9e1d29360 Add since tags for 2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137959 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 00:11:00 +00:00
Stephen Colebourne 16938363f6 Fix javadoc to refer to the correct entities
from knuti at ibm


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137958 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 22:45:27 +00:00
Stephen Colebourne f27ed8f698 Rename Tokenizer to StrTokenizer and move to text subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137957 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 22:29:25 +00:00
Stephen Colebourne 6fe93ed44e Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137956 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 21:40:09 +00:00
Henri Yandell 59d5f2f523 CharacterEncoding renamed to CharEncoding
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137955 13f79535-47bb-0310-9956-ffa450edef68
2004-10-02 01:46:30 +00:00
Henri Yandell dd2a1841fc Calendar.setTimeInMillis(long) is a JDK 1.4 method, so reverting to an older variant
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137954 13f79535-47bb-0310-9956-ffa450edef68
2004-10-02 01:40:30 +00:00
Gary D. Gregory 9c08168c2d Remove unnecessary type casts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137950 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 17:12:29 +00:00
Gary D. Gregory ef8f9c9842 Javadoc: Replace some HTML anchor hrefs with Javadoc @link and other nits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137949 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 17:24:47 +00:00
Gary D. Gregory 440ac74e04 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137948 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 16:57:18 +00:00
Gary D. Gregory 74dbcc9b90 Javadoc package description.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137947 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 16:57:05 +00:00
Henri Yandell 5fdb8a39db rolled back BUG#30929 pending opinions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137945 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 07:03:25 +00:00
Henri Yandell 0a08b6e7ef added javadoc to warn of Bug#31422, reported by Itzik Levin
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137944 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 06:35:52 +00:00
Henri Yandell 11b51253fc Gary wants us to be more precise :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137943 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 06:26:37 +00:00
Henri Yandell 2a041e2778 Bug#30929. Shorn Tolley pointed out that using equals() means you can't pass
SQLException in and expect to get back extensions of SQLException.  Switching
to isAssignableFrom allows you to do this.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137942 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 06:21:40 +00:00
Henri Yandell cc95d41828 I am such an idiot. It is dd for day of month, not DD. No surprise it was printing 366 and not 31 for the last day of the year. Excuse me while I garotte myself.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137941 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 06:12:17 +00:00
Henri Yandell f80cb56da1 typo fixed, a couple of extra overload methods added (need javadoc) and formatting for start->end changed to match millis implementation, for a pattern of M, 4 years is reported as 48 months and not 0 months.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137940 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 04:49:07 +00:00
Henri Yandell 3424e42050 tests updated to not need the removed month/year milli estimates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137939 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 04:46:47 +00:00
Henri Yandell 69ec8f4668 teach me to commit without a compile. Removed an overloaded method, so needs another parameter to hit a different overload
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137938 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 03:40:15 +00:00
Henri Yandell a453bf410b fixing the optimisation separation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137937 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 03:31:59 +00:00
Henri Yandell a1414f529c updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137936 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 03:30:10 +00:00