Commit Graph

1257 Commits

Author SHA1 Message Date
Henri Yandell 2330a3343c Fixing issue #38569
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394875 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 07:23:02 +00:00
Henri Yandell 4143a12a0e Test the getXxx methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394763 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 19:56:08 +00:00
Henri Yandell f19304cd06 Fixing javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394727 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 16:59:40 +00:00
Henri Yandell 77fdd9eaae Added new class CompositeFormat, as per issue #30184 (http://issues.apache.org/bugzilla/show_bug.cgi?id=30184)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394617 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 06:59:50 +00:00
Henri Yandell 7c4b3e8894 Added note on lack of ' support as detailed in issue #37385 (http://issues.apache.org/bugzilla/show_bug.cgi?id=37385)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394616 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 06:28:14 +00:00
Gary D. Gregory fc55439441 [lang] Using ReflectionToStringBuilder and excluding secure fields.
ASF Bugzilla Bug 36925.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36925

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394615 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 06:18:22 +00:00
Gary D. Gregory 0e85c6e6f1 [lang] Using ReflectionToStringBuilder and excluding secure fields.
ASF Bugzilla Bug 36925.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36925

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394614 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 06:18:07 +00:00
Gary D. Gregory 3eebd98b54 Replace internal use of the magic number -1 with a new constant INDEX_NOT_FOUND. Javadoc changes: Use the active voice "Finds..." (was "Find..."), mention INDEX_NOT_FOUND, and other minor Javadoc nit picking.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394613 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 06:06:52 +00:00
Stephen Colebourne 12491a6801 Javadoc to explain what iterator methods actually do
bug 33609

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 20:55:25 +00:00
Stephen Colebourne 72f58cfd20 Add methods that operate on a Date object
rfe 33102, from David Bowers

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394553 13f79535-47bb-0310-9956-ffa450edef68
2006-04-16 20:29:57 +00:00
Henri Yandell 902706e0d9 Fixed spelling error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394265 13f79535-47bb-0310-9956-ffa450edef68
2006-04-15 06:22:56 +00:00
Stephen Colebourne 756cdad67c Add checks for JDK1.6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@389912 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 22:27:48 +00:00
Stephen Colebourne d7db8448a1 Handle badly formatted java version numbers without exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@389911 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 22:22:32 +00:00
Stephen Colebourne a9f5a6b188 Fix infinite loops leading to OutOfMemory with circular cause chain
bug 37038

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@389900 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 22:07:53 +00:00
Stephen Colebourne 62a97240a5 Increment, decrement add and subtract methods
from Stephen Putman

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@387322 13f79535-47bb-0310-9956-ffa450edef68
2006-03-20 22:09:44 +00:00
Henri Yandell 976c15d1a3 Finally applying Chas Emerick's improved getLevenshtein implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@385745 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 06:09:27 +00:00
Gary D. Gregory 80dbd1dab0 Cobertura unit test coverage is now 100%.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@384095 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 02:25:50 +00:00
Stephen Colebourne e905b7993b Fix code style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@384043 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 22:43:39 +00:00
William A. McArthur Jr cb002e5906 Removed PADDING cache which leaked memory. Issue #38792.
Updated padding(int,char) JavaDoc about it's I18N incompatabilities.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@384017 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 21:17:46 +00:00
Henri Yandell cf56a79ee7 Fixing -1/1 bug as per #37661
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@383487 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:29:57 +00:00
Henri Yandell 9f4f79fe3f Fixing javadoc example error: #37507
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@383482 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 07:18:01 +00:00
Brett Porter ff3e121129 be more explicit about the references to the outer class to allow compilation against the JDK 5 class library.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@378937 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 18:16:39 +00:00
Stephen Colebourne bf3b35e57e New ExceptionUtils methods getMessage/getRootCauseMessage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366623 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 01:26:35 +00:00
Stephen Colebourne 4e74f83aad Replace LinkedList with more efficient ArrayList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366620 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 01:16:52 +00:00
Stephen Colebourne 9116953ca1 Change method ordering to group getStackTrace/getStackFrames
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366619 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 01:14:51 +00:00
Stephen Colebourne dcb7dded14 Javadoc changes, with better description of trace methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366617 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 01:12:28 +00:00
Gary D. Gregory db5f61a647 http://issues.apache.org/bugzilla/show_bug.cgi?id=37574
[lang] [PATCH] new ExceptionUtils.setCause() method

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366225 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 17:35:43 +00:00
Stephen Colebourne 0eeb7c904c Fix formatting to lang standards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@360513 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 18:30:30 +00:00
Stephen Colebourne 42f9084b3b Fix javadoc examples
bug 36850, pointed out by Maarten Coene

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@360508 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 18:14:12 +00:00
James W. Carman 72c7bbe974 Fixed formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@357616 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 02:30:58 +00:00
Stephen Colebourne 336c2631c4 Improve manifest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@357501 13f79535-47bb-0310-9956-ffa450edef68
2005-12-18 20:49:09 +00:00
Gary D. Gregory f0f0bf81e7 http://issues.apache.org/bugzilla/show_bug.cgi?id=37596
The method DurationFormatUtils.formatDurationWords incorrectly outputs numbers
ending in "1" without a plural "s" postfix for the time unit.
Added a fix and tests that "1 <unit>s" gets converted to "1 <unit>" but that "11
<unit>s" is left alone.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@348311 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 00:19:44 +00:00
Henri Yandell 03174f6358 implemented isNotXxx methods as !isXxx calls to simplify and ensure symmetry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@345907 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 14:10:08 +00:00
James W. Carman 39c9476337 Refactored getClass() to support spaces in class names.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@345284 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 16:51:02 +00:00
Gary D. Gregory d85ab0c576 Minor Javadoc (style.)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@329277 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 19:49:47 +00:00
Gary D. Gregory 7ec96c4306 [lang] Request for MutableBoolean implementation.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37111.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@327700 13f79535-47bb-0310-9956-ffa450edef68
2005-10-22 22:03:23 +00:00
Stephen Colebourne 6767a45758 Test unmodifiability of returned collections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@307282 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 10:04:20 +00:00
Stephen Colebourne deba27893e Comments about synchronization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@307281 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 10:02:40 +00:00
Stephen Colebourne 81bdeb9ff9 Handle differences between JDK1.3 and JDK1.4
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@307280 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 09:56:00 +00:00
Stephen Colebourne cfd9081647 Handle differences between JDK1.3 and JDK1.4
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@307279 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 09:55:25 +00:00
Gary D. Gregory 96f12d3e79 A cut at http://issues.apache.org/bugzilla/show_bug.cgi?id=36925: Using ReflectionToStringBuilder and excluding secure fields.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294950 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 00:06:11 +00:00
Gary D. Gregory 0c36e28cd1 A cut at http://issues.apache.org/bugzilla/show_bug.cgi?id=36925: Using ReflectionToStringBuilder and excluding secure fields.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294949 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 00:05:11 +00:00
Gary D. Gregory 0c46c2e50a // comment.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294936 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 22:23:54 +00:00
Gary D. Gregory fd656864b6 More code that does not compile 1.3.1.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294935 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 22:23:01 +00:00
Gary D. Gregory ac01ed3d67 Tsk, tsk: This class did not compile with Java 1.3.1. The test also fails on 1.3.1_15 but works on 1.4.2_09.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294934 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 22:21:40 +00:00
Gary D. Gregory 7a9f3bb0db Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@293464 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 22:44:08 +00:00
Gary D. Gregory 3bac0b1b17 Made constants public for easier access from subclasses or wrappers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@291996 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 17:37:38 +00:00
Stephen Colebourne d1f5ebf412 Test LocaleUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@291219 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 23:17:31 +00:00
Stephen Colebourne b2da02296f Add WordUtils.initials
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279988 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 11:38:35 +00:00
Stephen Colebourne c79adcc3f0 Optimize performance of RandomStringUtils
bug 35170, from Shaun Kalley

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@279985 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 10:07:41 +00:00
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