Commit Graph

1549 Commits

Author SHA1 Message Date
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
Henri Yandell 27791c555d adding directory to contain pending code that currently hides out in the sandbox
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@263947 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:29:15 +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