cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections ArrayStack.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 05:56:42 Modified:collections/src/java/org/apache/commons/collections ArrayStack.java Log: Enable nulls to be added to the stack Add initial size constructor Tidy javadoc and code layout Revision ChangesPath 1.10

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections UnboundedFifoBuffer.java BoundedFifoBuffer.java BinaryHeap.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 05:59:04 Modified:collections/src/java/org/apache/commons/collections UnboundedFifoBuffer.java BoundedFifoBuffer.java BinaryHeap.java Log: Tidy javadoc and code layout Revision ChangesPath 1.5

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections CollectionUtils.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 14:59:45 Modified:collections/src/java/org/apache/commons/collections CollectionUtils.java Log: Removed unused variable (patch from Steve Downey) Revision ChangesPath 1.17 +8 -8

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestBinaryHeap.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 05:59:52 Modified:collections/src/test/org/apache/commons/collections TestBinaryHeap.java Log: Use field access not method for testing Revision ChangesPath 1.7 +5 -5

cvs commit: jakarta-commons/jxpath/src/test/org/apache/commons/jxpath TestFactory.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 19:59:51 Modified:jxpath/src/test/org/apache/commons/jxpath TestFactory.java Log: Updated comment Revision ChangesPath 1.6 +5 -6 jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/TestFactory.java Index: TestFactory.java

[collections] [PATCH] MapUtil

2002-10-13 Thread Moritz Petersen
The patch contains: MapUtil#toMap(Object[]) - converts the array to a Map MapUtil#asMap(Object[]) - wraps an ArrayMap around the array MapUtil.ArrayMap- inner class for #asMap(Object[]) TestMapUtil#testToMap() TestMapUtil#testAsMap() Patch was applied: diff -u -r1.13 MapUtils.java

[PATCH] [collections] TestMapUtils

2002-10-13 Thread Moritz Petersen
Index: TestMapUtils.java === RCS file: /home/cvspublic/jakarta-commons/collections/src/test/org/apache/ commons/collections/TestMapUtils.java,v retrieving revision 1.1 diff -u -r1.1 TestMapUtils.java --- TestMapUtils.java 13 Aug

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/util ValueUtils.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 13:57:44 Modified:jxpath/src/java/org/apache/commons/jxpath/util ValueUtils.java Log: Fixed this bug: if called setValue with an xpath with an index on a scalar property, the property would remain unchanged without an error message.

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections StringStack.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 04:17:57 Modified:collections/src/java/org/apache/commons/collections StringStack.java Log: Deprecate in favour of StringUtils in [lang] Revision ChangesPath 1.3 +9 -3

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections MultiHashMap.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 15:04:59 Modified:collections/src/java/org/apache/commons/collections MultiHashMap.java Log: Removed unused variable (patch from Steve Downey) Added class level javadoc Revision ChangesPath 1.5 +15 -8

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections MapUtils.java BufferUtils.java ListUtils.java CollectionUtils.java BagUtils.java SetUtils.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 17:38:36 Modified:collections/src/java/org/apache/commons/collections MapUtils.java BufferUtils.java ListUtils.java CollectionUtils.java BagUtils.java SetUtils.java Log: Javadoc improvements, especially exception

Re: [collections][lang] deprecate StringStack

2002-10-13 Thread Stephen Colebourne
StringStack is now deprecated as you propose. Stephen - Original Message - From: John McNally [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 10:19 PM Subject: [collections][lang] deprecate StringStack This class is badly named

cvs commit: jakarta-commons/collections RELEASE-NOTES-2.1.html

2002-10-13 Thread scolebourne
scolebourne2002/10/12 17:40:15 Modified:collections RELEASE-NOTES-2.1.html Log: Update to reflect most up to date set of changes for release Revision ChangesPath 1.3 +93 -64jakarta-commons/collections/RELEASE-NOTES-2.1.html Index: RELEASE-NOTES-2.1.html

cvs commit: jakarta-commons/jxpath/src/test/org/apache/commons/jxpath/ri/model/dom DOMModelTest.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 20:01:03 Modified:jxpath/src/test/org/apache/commons/jxpath/ri/model/jdom JDOMModelTest.java jxpath/src/test/org/apache/commons/jxpath/ri/model/dom DOMModelTest.java Added:

Re: [collections][PATCH] CollectionUtils unused variable

2002-10-13 Thread Stephen Colebourne
Patch applied, thanks Stephen - Original Message - From: Steve Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 06, 2002 6:43 PM Subject: [collections][PATCH] CollectionUtils unused variable In isSubCollection(), there is a List that's new'd but never used.

Re: [collections][PATCH]MultiHashMap unused variable

2002-10-13 Thread Stephen Colebourne
Patch applied, thanks Stephen - Original Message - From: Steve Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 06, 2002 6:50 PM Subject: [collections][PATCH]MultiHashMap unused variable in the inner loop of values(), there's an assignment to a boolean that is never

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/dom DOMNodePointer.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 19:59:02 Modified:jxpath/src/java/org/apache/commons/jxpath/ri/axes SimplePathInterpreter.java jxpath/src/java/org/apache/commons/jxpath/ri/compiler Path.java

cvs commit: jakarta-commons/jxpath project.xml build.xml

2002-10-13 Thread dmitri
dmitri 2002/10/12 20:01:18 Modified:jxpath project.xml build.xml Log: Renamed test classes for uniformity Revision ChangesPath 1.7 +1 -4 jakarta-commons/jxpath/project.xml Index: project.xml

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/comparators NullComparator.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 15:15:21 Modified:collections/src/java/org/apache/commons/collections MultiHashMap.java UniqueFilterIterator.java IteratorEnumeration.java DoubleOrderedMap.java FastTreeMap.java BagUtils.java

Re: [collections] Why does ArrayStack refuse null elements

2002-10-13 Thread Stephen Colebourne
The checking that was in ArrayStack was insufficient anyway (you could get around it). I've enabled nulls to be added to ArrayStack now. Stephen - Original Message - From: Christopher Lenz [EMAIL PROTECTED] why does ArrayStack refuse to push null elements on the stack (it throws a

DO NOT REPLY [Bug 12230] - Problem with creating DOM attributes

2002-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12230. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 13108] - unnecessary reflection

2002-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13108. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/comparators TestAll.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 15:35:10 Added: collections/src/test/org/apache/commons/collections/comparators TestAll.java Log: Add whole package testing class Revision ChangesPath 1.1

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/iterators TestIteratorChain.java TestFilterListIterator.java TestFilterIterator.java TestListIteratorWrapper.java TestUniqueFilterIterator.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 15:36:24 Modified:collections/src/test/org/apache/commons/collections/primitives TestAbstractIntArrayList.java TestAbstractLongArrayList.java TestLongArrayList.java TestFloatArrayList.java

Re: [collections][PATCH]collections.UniqueFilterIterator

2002-10-13 Thread Stephen Colebourne
By my examination, UFI was added after release 2.0. Thus I have deleted it from the main package, so the patches are unnecessary. Personally, I don't like UFI at all, as I think its a special case of a FilterIterator with a Predicate. But as PredicateUtils isn't in [collections] I can't argue.

Re: [lang] Ideas for Lang

2002-10-13 Thread Steve Downey
On Friday 11 October 2002 07:49 pm, Henri Yandell wrote: On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same for MutableString. I'm not so sure about

[PATCH] [collections] new: MapUtils#asMap(Object[]) and MapUtils#toMapEntry(Object)

2002-10-13 Thread Moritz Petersen
Index: MapUtils.java === RCS file: /home/cvspublic/jakarta-commons/collections/src/java/org/apache/ commons/collections/MapUtils.java,v retrieving revision 1.12 diff -u -r1.12 MapUtils.java --- MapUtils.java 19 Aug 2002

Re: [collections] possible contribution, LowercaseComparator and NumberComparator

2002-10-13 Thread Stephen Colebourne
From: [EMAIL PROTECTED] LowercaseComparator (which should be called IgnoreCaseComparator) allows you to compare two strings, say Eric and eric and get back that they are the same. This is useful when you are sorting strings that are in multiple types of case, and you don't care about the

Re: [PATCH][collections]import clean up

2002-10-13 Thread Stephen Colebourne
Patch applied, thanks Stephen - Original Message - From: Steve Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 06, 2002 6:22 PM Subject: [PATCH][collections]import clean up A lot of the collections classes import elements that are not actually used, or are used

DO NOT REPLY [Bug 13380] - pointers obtained from iteratePointers() fails to setValue()

2002-10-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13380. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[Jelly]BreakTag

2002-10-13 Thread Vinay Chandran
Hi, [Attached BreakTag.java] BreakTag [ break if=condition/ ] tag allows one to conditionally break out of a script block without executing any subsequent scripts within its parent . The natural use is to break out of a foreach/ , while/ loop . Break works in the context of any parent tag and

cvs commit: jakarta-commons/discovery/src/test/org/apache/commons/discovery/test TestAll.java

2002-10-13 Thread jstrachan
jstrachan2002/10/12 10:26:08 Modified:discovery/src/test/org/apache/commons/discovery/test TestAll.java Log: Added another test case using the DiscoverClass mechanism directly Revision ChangesPath 1.5 +16 -4

[collections] Release Manager Job Vacancy

2002-10-13 Thread Stephen Colebourne
[collections] needs a release. The code appears to be in a releasable state (I've done some tidying tonight of odds and ends). We are currently lacking a Release Manager however. Does anyone fancy the job ??? Stephen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: [collections] Re: Commons Collections:Suggested MapUtils enhancements

2002-10-13 Thread Stephen Colebourne
See http://jakarta.apache.org/site/source.html for submissions details. toMap(Object[]) is used to initialise a Map, such as a HashMap with data. asMap(Object[]) exposes an array as a Map, thus can't have its size changed toMap(Object[]) is the same as map.putAll(MapUtils.asMap(Object[]));

cvs commit: jakarta-commons/jxpath project.xml project.properties

2002-10-13 Thread dmitri
dmitri 2002/10/12 21:17:16 Modified:jxpath project.xml project.properties Log: Fixed a problem with Maven build Revision ChangesPath 1.8 +2 -2 jakarta-commons/jxpath/project.xml Index: project.xml

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections UniqueFilterIterator.java

2002-10-13 Thread scolebourne
scolebourne2002/10/12 16:25:27 Removed: collections/src/java/org/apache/commons/collections UniqueFilterIterator.java Log: Remove as added after 2.0, and is now in subpackage -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

cvs commit: jakarta-commons/jxpath/src/test/org/apache/commons/jxpath NestedTestBean.java JXPathTest.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 20:25:48 Modified:jxpath/src/test/org/apache/commons/jxpath NestedTestBean.java JXPathTest.java Log: Incorporated test case from bug report 13380 Revision ChangesPath 1.4 +8 -4

Re: DOM-based Digester?

2002-10-13 Thread Ceki Gülcü
Yes, this is precisely one of the advantages of DOM trees. You can easily deal with backward or forward references to other elements. Backward references are useful for lazy instantiation as you have mentioned. At 15:56 11.10.2002 -0400, Jean-Francois Arcand wrote: One interesting uses is to

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/compiler CoreFunction.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 13:56:03 Modified:jxpath/src/java/org/apache/commons/jxpath/ri/compiler CoreFunction.java Log: Null() function will now return null Revision ChangesPath 1.7 +5 -5

Re: [collections] Release Manager Job Vacancy

2002-10-13 Thread John McNally
Please deprecate the StringStack class before the next release. It is not a Stack implementation and is confusing as part of the collections package. john mcnally On Sat, 2002-10-12 at 17:51, Stephen Colebourne wrote: [collections] needs a release. The code appears to be in a releasable state

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri JXPathContextReferenceImpl.java

2002-10-13 Thread dmitri
dmitri 2002/10/12 19:26:50 Modified:jxpath/src/java/org/apache/commons/jxpath/ri JXPathContextReferenceImpl.java Log: Fixed this bug: setLenient(true) did not have the advertised effect in some cases Revision ChangesPath 1.22 +19 -8

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same for MutableString. I'm not so sure about Mutable value classes. I'd want to see a use case for them

cvs commit: jakarta-commons-sandbox/periodicity/src/plugins-build/database/xdocs databases.xml

2002-10-13 Thread prickett
prickett2002/10/11 13:59:35 Added: periodicity/src/plugins-build/database/xdocs databases.xml Log: Added a xdoc file to document all the databases that will be supported by Periodicity. Revision ChangesPath 1.1

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/exception ExceptionUtils.java

2002-10-13 Thread sullis
sullis 2002/10/13 10:57:10 Modified:lang/src/java/org/apache/commons/lang/exception ExceptionUtils.java Log: made fix for bug id 13527 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13527 Revision ChangesPath 1.17 +3 -1

RE: [lang] Ideas for Lang

2002-10-13 Thread Martin Cooper
-Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 1:14 PM To: Jakarta Commons Developers List Subject: [lang] Ideas for Lang Here's my list of things I mean to get around to adding soon: 1) Notifier class. I need a better

cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly RequestTag.java ValidateTag.java

2002-10-13 Thread morgand
morgand 2002/10/11 14:15:01 Modified:latka/src/java/org/apache/commons/latka/jelly RequestTag.java ValidateTag.java Log: simplified request generation Revision ChangesPath 1.7 +13 -12

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/enum EnumTest.java

2002-10-13 Thread sullis
sullis 2002/10/13 11:41:24 Modified:lang/src/test/org/apache/commons/lang/enum EnumTest.java Log: added test code for Map keySet size and List size Revision ChangesPath 1.2 +13 -1 jakarta-commons/lang/src/test/org/apache/commons/lang/enum/EnumTest.java

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/enum ValuedEnumTest.java

2002-10-13 Thread sullis
sullis 2002/10/13 11:42:06 Modified:lang/src/test/org/apache/commons/lang/enum ValuedEnumTest.java Log: added test code for Map keySet size and List size Revision ChangesPath 1.2 +13 -1

cvs commit: jakarta-commons/httpclient/xdocs status.xml

2002-10-13 Thread sullis
sullis 2002/10/13 11:51:05 Modified:httpclient/xdocs status.xml Log: added Sean C. Sullivan minor info updates Revision ChangesPath 1.14 +5 -4 jakarta-commons/httpclient/xdocs/status.xml Index: status.xml

cvs commit: jakarta-commons/httpclient/xdocs index.xml

2002-10-13 Thread sullis
sullis 2002/10/13 11:55:02 Modified:httpclient/xdocs index.xml Log: updated URL Revision ChangesPath 1.5 +2 -2 jakarta-commons/httpclient/xdocs/index.xml Index: index.xml === RCS file:

cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/multipart Part.java

2002-10-13 Thread sullis
sullis 2002/10/13 11:57:10 Modified:httpclient/src/java/org/apache/commons/httpclient/methods/multipart Part.java Log: added toString method Revision ChangesPath 1.2 +8 -3

cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java

2002-10-13 Thread sullis
sullis 2002/10/13 12:01:05 Modified:httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java Log: HashMap variables are now declared as java.util.Map Revision ChangesPath 1.63 +6 -6

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections MapUtils.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 15:31:35 Modified:collections/src/java/org/apache/commons/collections MapUtils.java Log: Javadoc improvement Revision ChangesPath 1.14 +11 -7

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ArrayUtils.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 15:42:06 Added: lang/src/java/org/apache/commons/lang ArrayUtils.java Log: Initial version of ArrayUtils, includes toMap Revision ChangesPath 1.1 jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java Index:

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang ArrayUtilsTest.java LangTestSuite.java

2002-10-13 Thread scolebourne
scolebourne2002/10/13 15:42:59 Modified:lang/src/test/org/apache/commons/lang LangTestSuite.java Added: lang/src/test/org/apache/commons/lang ArrayUtilsTest.java Log: Initial version of ArrayUtils testing, testing incomplete at present Revision ChangesPath 1.5

[lang] ArrayUtils toMap asMap, [was Re: [collections] [PATCH] MapUtil]

2002-10-13 Thread Stephen Colebourne
Life is never simpleI started applying the patch, but hit some problems By comparison with the JDK, the method asList(Object[]) is on Arrays. Thus I have applied the patch to ArrayUtils in [lang] instead of [collections]. toMap(Object[]) fitted fine. When I looked at asMap(Object[]) I

Re: [collection] MultiHashMap class improvements

2002-10-13 Thread Stephen Colebourne
I have taken a look at the patch. Unfortunately I can't use it at present because it would involve changing the MultiMap interface. Once released, we generally do not change interfaces. Stephen - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October

[collections] Release plan and Final call for next release - 2.1

2002-10-13 Thread Stephen Colebourne
I am now officially volunteering as release manager for the new collections release. Henri Yandell has offerred to assist with the deployment. The release plan is below. The release notes are available on the CVS. Please consider [collections] in freeze for release at present. Please advise the

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io AbstractBeanWriter.java

2002-10-13 Thread dion
dion2002/10/13 18:55:38 Modified:betwixt/src/java/org/apache/commons/betwixt/io AbstractBeanWriter.java Log: Add isDebugEnabled around some debug messages Revision ChangesPath 1.6 +12 -8

RE: [NET] FTP Client, release quality? (fwd)

2002-10-13 Thread Brekke, Jeff
Thanks for the offer! Contributions are always welcome and there is a lot of information at the Jakarta site to help directly answer some of your questions ( like how to contribute, patches, etc ). The current release state of the net package is in process. The nightly builds are fine ( We

[jelly] as a Turbine templating framework ?

2002-10-13 Thread Stéphane MOR
Hi, I read a while ago something interesting about a JellyServlet... I'll like to know if there has been some attempts of a Jelly Service for Turbine (or Fulcrum), that would work like VelocityService (ie: you request localhost:8080/foo/servlet/foo/templates/index.jelly and the service

Re: [lang] Ideas for Lang

2002-10-13 Thread John Yu
Steve, At 04:48 am 13-10-2002, you wrote: On Friday 11 October 2002 07:49 pm, Henri Yandell wrote: On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
On Mon, 14 Oct 2002, John Yu wrote: Steve, An initial thought: I suppose what you have in mind is MutableString extends java.util.String. String is final. Same for all/most of the Immutable painful things. 4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice

RE: Customizing JXPath. Custom Containers.

2002-10-13 Thread Kenneth Petersen
Hi. After having used a little time looking at the code of package org.apache.commons.jxpath.ri.model, I have come to the following conclusion: When taking into account that the only difference between a bean like object and value-objects created by Castor, is that the later defines many