Commit Graph

1629 Commits

Author SHA1 Message Date
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
Dion Gillard ebb946d062 Use groupId/artifactId consistently instead of simply id
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@350242 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 12:51:41 +00:00
Gary D. Gregory b8f195f91b 37596 DurationFormatUtils.formatDurationWords "11 <unit>s" gets converted to "11 <unit>"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@348313 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 00:22:07 +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
Dion Gillard e150cc5810 Removed tabs
Fixed POM as per bug 37314
Use groupId/artifactId instead of id

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@348046 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 00:25:08 +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 47cb8ddccd Updating release notes to mention new ClassUtils.getClass() methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@345306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 18:58:39 +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
James W. Carman 502f7f4a19 Added myself as a developer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@345283 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 16:50:15 +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 01d50f2e00 Planned 2.2 leg work.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@327707 13f79535-47bb-0310-9956-ffa450edef68
2005-10-22 22:11:24 +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 a05cd12b23 Oops, go back to previous version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@294951 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 00:11:19 +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
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