Commit Graph

1529 Commits

Author SHA1 Message Date
Fredrik Westermarck ea1f4106da Renamed a parameter in the javadoc to reflect the name of the input parameter in the method signature.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@399834 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 19:29:00 +00:00
Henri Yandell fceff5aa54 Commenting out unit test for 36061 so unit tests pass again
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@399148 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 05:28:59 +00:00
Henri Yandell 26d2f4a4a2 Committing a failing test (StackOverflow) as a part of #36061
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@399141 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 04:59:09 +00:00
Henri Yandell 1da2453bc6 Applying the optimisation advised by Paul Benedict in #39368
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@399127 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 04:33:47 +00:00
Henri Yandell c803367cd0 Fixing the lack of ClassLoader consideration in the compareTo methods of enum.Enum and enums.Enum, along with unit tests, as mentioned on Bugzilla entry #32619 by Kathy Van Stone.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398812 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 05:21:00 +00:00
Gary D. Gregory 56541a7485 Fix Javadoc nit: use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398809 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 04:58:09 +00:00
Gary D. Gregory 5b7e9f59f1 Fix Javadoc nits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398808 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 04:56:12 +00:00
Henri Yandell 048e444c84 Can't believe that Gary meant for the enums.EnumTest to import the enum.ColorEnum class.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398807 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 04:54:18 +00:00
Henri Yandell da0e534f15 Archimedes Trajano offered another method for the class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398536 13f79535-47bb-0310-9956-ffa450edef68
2006-05-01 06:37:14 +00:00
Henri Yandell 79c3898c90 Adding unit test for #39410. Implementing fix by switching from using Math.log to Integer.toString to figure out the number of digits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@398530 13f79535-47bb-0310-9956-ffa450edef68
2006-05-01 05:32:43 +00:00
Henri Yandell 2f4408d33c Applying Pete Gieser's enhancement for the CompareToBuilder - a clone of the EqualsBuilder and HashCodeBuilder fixes previously applied. Bugzilla issue #39398
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@397016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 23:15:05 +00:00
Henri Yandell 8393f10b79 Adding new excludeFields functionality for EqualsBuilder and HashCodeBuilder, as submitted by Pete Gieser, Bugzilla: #39315
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@396461 13f79535-47bb-0310-9956-ffa450edef68
2006-04-24 07:00:00 +00:00
Henri Yandell fc9b4cc1d8 Added new method to allow work-arounds for Java bug 4071957; as specified in issue 34351
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@395153 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 06:30:14 +00:00
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 1935095225 Add contributor from rv387322, mutable add/subtract
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@389921 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 22:58:43 +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
Stephen Colebourne bc5f6f6954 Remove direct dependency on commons-build
Enhance website

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@385373 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 21:54:04 +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
Henri Yandell 8d63fb69c6 Removed link to the german article - seems they either dropped the article or changed the url
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@383465 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 05:05:07 +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
Niall Pemberton 67df2859aa Modify maven build to add two non-standard attributes to the jar's manifest file to indicate the values of "maven.compile.source" and "maven.compile.target". Also modify the build to include an "Implementation-Vendor-Id" of "org.apache" in the jar's manifest.
The two non-standard entires created in the manifest file will look something like the following:

X-Compile-Source-JDK: 1.3
X-Compile-Target-JDK: 1.3

This change serves two purposes:

  1) To provide comfort to users regarding JVM compatibility.
  2) Enable releases to be checked more easily for JVM compatibility.

The manifest specification indicates that "unknown" entries in the manifest file are ignored. These entries have been prefixed with "X-" which is a sometimes used "convention" for indicating non-standard entries.

See thread: http://tinyurl.com/839zh

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@377558 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 01:15:14 +00:00
Henri Yandell cfb444dcec fixing pmc from name to url
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@371924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 14:29:48 +00:00
Henri Yandell ed7c092ecd Adding doap files for each component for the projects.apache.org site
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@371566 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 16:12:55 +00:00
Gary D. Gregory b41bc57082 Added:
<dependency>
             <groupId>maven-plugins</groupId>
             <artifactId>maven-cobertura-plugin</artifactId>
             <version>1.1.1</version>
             <type>plugin</type>
         </dependency>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@366981 13f79535-47bb-0310-9956-ffa450edef68
2006-01-08 03:45:55 +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 de9d22e2ba 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@366227 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 17:39:55 +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 3c73a44b34 Switch clover to cobertura
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@360518 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 18:47:11 +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