Commit Graph

1642 Commits

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