Commit Graph

1315 Commits

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