Commit Graph

1635 Commits

Author SHA1 Message Date
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