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

2002-10-15 Thread Moritz Petersen
Great. I believe that this difficulty is the reason why asMap(Object[]) was never included in the JDK, but toMap() was. Here is my solution: - Hashing - document the behaviour, stating that the Map will behave poorly as its size grows. And that it returns the first matched key. -

Re: [Jelly] handing invalid XML

2002-10-15 Thread James Strachan
From: Morgan Delagrange [EMAIL PROTECTED] I am preparing a change to the org.apache.commons.jelly.Jelly class that will allow clients to enable XML validation. However I noticed that the XMLParser.warning(SAXException) method simply logs warnings without throwing the exception. That means

RE: [collections] Primitive collections

2002-10-15 Thread scolebourne
[change of plan proposed...] Thanks for the input Rodney. It sounds like you are convinced that new Interfaces and wrappers are the way to go. And you seem to be offering to code them :-) However, I believe that were I to accept them into this release as a rushed quick code, with little

Re: [Latka][Proposal] Make Jelly a required dependency?

2002-10-15 Thread James Strachan
From: Costin Manolache [EMAIL PROTECTED] James Strachan wrote: Though I am having second thoughts on whether Commons is the right place for Jelly; maybe it should be a top level Jakarta project? Jelly started out as a little reusable XML scripting engine that could be embedded anywhere

RE: [collections] Primitive collections

2002-10-15 Thread Waldhoff, Rodney
Rodney, you are the main instigator of this subpackage [...] Any objections to the remove primitives from the release plan? If remove from the release plan simply means you'll exclude o.a.c.c.primitives.* from the binary and source distributions--i.e., that I don't have to do anything--then

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

2002-10-15 Thread oglueck
oglueck 2002/10/15 06:29:42 Modified:httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java Log: Fixed a hang on redirect Revision ChangesPath 1.64 +8 -4

DO NOT REPLY [Bug 13649] New: - GenericObjectPool: Negative _maxActive doesn't allow growth

2002-10-15 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=13649. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 13649] - GenericObjectPool: Negative _maxActive doesn't allow growth

2002-10-15 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=13649. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [collections] Primitive collections

2002-10-15 Thread Janek Bogucki
Here's an example of a primitive collections library which uses a separate class heirarchy and the same method names http://trove4j.sourceforge.net/ http://trove4j.sourceforge.net/javadocs/ My 0.2 cents, Janek Bogucki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: [collections] Primitive collections

2002-10-15 Thread Bruce Eckel
Option two fits with XP philosophy. Trim features to make the release, rather than putting something in that doesn't measure up, or blowing the schedule. I'm finding this an interesting problem so I would be glad to interact re design questions. Also, I think Bill Venners would be interested in

[Logging] How can I submit a concrete Log implementation (WLSLogger)?

2002-10-15 Thread Alex Fodtchouk
I've implemented and tested WLSLogger with WebLogic Server 6.1/7.0 - both server (JSP) and client (Java app) side and would like to donate it to Apache. Not particularly familiar with the submission process, I'll have to ask likely a stupid question: Is it appropriate to suggest adding a

Re: [Latka][Proposal] Make Jelly a required dependency?

2002-10-15 Thread Craig R. McClanahan
On Tue, 15 Oct 2002, James Strachan wrote: I'll call a vote to promote Jelly to commons proper shortly. If we decide later on that Jelly should move out of commons to a top level project we can cross that bridge when we come to it. How's that sound? Sounds sensible. James Craig --

Re: [Latka][Proposal] Make Jelly a required dependency?

2002-10-15 Thread Ceki Gülcü
James, My suggestion would be to be patient and let Jelly mature a little more, especially with regards to documentation. When you feel that you are ready, then you can choose to go with commons or directly jakarta. Being in a sandbox has advantages because your project can grow slowly without

DO NOT REPLY [Bug 13656] New: - second call to hasNext() on DOM Iterator causes NPE

2002-10-15 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=13656. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 13656] - second call to hasNext() on DOM Iterator causes NPE

2002-10-15 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=13656. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

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

2002-10-15 Thread morgand
morgand 2002/10/15 12:10:37 Modified:latka/src/java/org/apache/commons/latka/jelly SuiteTag.java Log: modified behaviour of default listener to more closely approximate previous Latka implementation Revision ChangesPath 1.20 +10 -6

DO NOT REPLY [Bug 13666] New: - HelpFormatter throws NullPointerException

2002-10-15 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=13666. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [Logging] How can I submit a concrete Log implementation (WLSLogger)?

2002-10-15 Thread Ceki Gülcü
At 10:55 15.10.2002 -0700, you wrote: Ceki Gülcü wrote: At 10:31 15.10.2002 -0700, Costin Manolache wrote: Maybe we can do it at a later stage or in a LogFactory2 - so the code would work even if discovery is not available/used. I think the current hardcoded discovery, even if duplicated

Re: [collections] Primitive collections

2002-10-15 Thread Stephen Colebourne
There is a good body of code here, but the GNU licence rules it out I believe. Stephen - Original Message - From: Janek Bogucki [EMAIL PROTECTED] Here's an example of a primitive collections library which uses a separate class heirarchy and the same method names

Re: [collections] Primitive collections

2002-10-15 Thread Stephen Colebourne
The exclusion plan seems to be OK. For the primitive design, my first approach would be to start with IntCollection and IntList interfaces and work out. I think that the interfaces can be exactly the same as the Collection and List interfaces, but returning/taking in ints instead of Objects.

[collections] Final release plan (2)

2002-10-15 Thread Stephen Colebourne
Primitives now removed from release plan: Please advise the list of any essential changes required by Wednesday midnight UTC. A vote for release should thus occur on Friday-Sunday. Release would then follow imminently. Stephen release plan release manager: Stephen Colebourne,

RE: [collections] Primitive collections

2002-10-15 Thread Waldhoff, Rodney
Yeah, what he said. ;) -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:29 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [collections] Primitive collections The exclusion plan seems to be OK. For the primitive design,

cvs commit: jakarta-commons/collections STATUS.html

2002-10-15 Thread scolebourne
scolebourne2002/10/15 14:44:24 Modified:collections STATUS.html Log: Add to todo list Revision ChangesPath 1.18 +13 -1 jakarta-commons/collections/STATUS.html Index: STATUS.html === RCS

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

2002-10-15 Thread scolebourne
scolebourne2002/10/15 14:45:17 Modified:collections RELEASE-NOTES-2.1.html Log: Delay primitives to 2.2 release Revision ChangesPath 1.5 +0 -29 jakarta-commons/collections/RELEASE-NOTES-2.1.html Index: RELEASE-NOTES-2.1.html

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

2002-10-15 Thread scolebourne
scolebourne2002/10/15 14:51:22 Modified:collections/src/test/org/apache/commons/collections TestAll.java Log: Delay primitives to 2.2 release Revision ChangesPath 1.36 +5 -5

cvs commit: jakarta-commons/cli/src/java/org/apache/commons/cli OptionBuilder.java

2002-10-15 Thread jkeyes
jkeyes 2002/10/15 15:50:46 Modified:cli/src/java/org/apache/commons/cli OptionBuilder.java Log: added URL to builder pattern details, tided javadoc Revision ChangesPath 1.12 +4 -5 jakarta-commons/cli/src/java/org/apache/commons/cli/OptionBuilder.java

cvs commit: jakarta-commons/cli/xdocs introduction.xml navigation.xml properties.xml usage.xml ant.xml creation.xml parser.xml

2002-10-15 Thread jkeyes
jkeyes 2002/10/15 15:53:33 Modified:cli/xdocs introduction.xml navigation.xml properties.xml usage.xml Removed: cli/xdocs ant.xml creation.xml parser.xml Log: documentation updates in preperation for the release Revision ChangesPath 1.3

Re: [collections] Final release plan (2)

2002-10-15 Thread Berin Loritsch
Stephen Colebourne wrote: Primitives now removed from release plan: Please advise the list of any essential changes required by Wednesday midnight UTC. A vote for release should thus occur on Friday-Sunday. Release would then follow imminently. Stephen release plan

DO NOT REPLY [Bug 13676] New: - FilePart fails to send data on second call to send

2002-10-15 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=13676. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 13676] - FilePart fails to send data on second call to send

2002-10-15 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=13676. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [Latka][Proposal] Make Jelly a required dependency?

2002-10-15 Thread dion
Waldhoff, Rodney [EMAIL PROTECTED] wrote on 16/10/2002 03:03:26 AM: For what it's worth, I think I'm with Ceki here. Jelly runs a real risk of running into the same problems that Ant did with some of the intermediate versions--it's so easy to extend, one gets lots of small extensions,

DO NOT REPLY [Bug 13676] - FilePart fails to send data on second call to send

2002-10-15 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=13676. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.