DO NOT REPLY [Bug 12997] - Call the method as soon as the last parameter is encountered

2003-09-22 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=12997. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 12997] - Call the method as soon as the last parameter is encountered

2003-09-22 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=12997. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23301] - tomcatw.exe crashes

2003-09-22 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=23301. 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 TestCollectionUtils.java

2003-09-22 Thread psteitz
psteitz 2003/09/22 01:22:53 Modified:collections/src/test/org/apache/commons/collections TestCollectionUtils.java Log: Added tests for collect, decorator factories. Revision ChangesPath 1.21 +70 -4

Re: [DBCP][Pool] Ready for release

2003-09-22 Thread Remy Maucherat
Dirk Verbeeck wrote: The last release of DBCP pool is almost a year old now. A new one is long overdue. Bugzilla has Zarro Boogs found and the threading changes are now already a month in the nightly builds with no error reports. There are always more enhancements to be done (logging,

Re: cvs commit: jakarta-commons-sandbox/io project.xml

2003-09-22 Thread J.Pietschmann
__matthewHawthorne wrote: Wouldn't tabs show up as a weird character, and not just blank spaces? This depends on the viewer. Common mail clients as well as the common breed of text editors, XML editors and IDEs show tabs as a fixed number of spaces, usually 8 by default, occasionally this can be

Re: [DBCP][Pool] Ready for release

2003-09-22 Thread Dirk Verbeeck
Remy Maucherat wrote: Dirk Verbeeck wrote: The last release of DBCP pool is almost a year old now. A new one is long overdue. Bugzilla has Zarro Boogs found and the threading changes are now already a month in the nightly builds with no error reports. There are always more enhancements to be

cvs commit: jakarta-commons-sandbox/hivemind/framework/src/test/hivemind/test/rules TestClassTranslator.java

2003-09-22 Thread hlship
hlship 2003/09/22 13:06:00 Modified:hivemind/framework/src/java/org/apache/commons/hivemind/impl DefaultClassResolver.java DeferredServiceExtensionPointImpl.java RegistryBuilder.java ConfigurationImpl.java

RE: [HiveMind] DeferredService performance

2003-09-22 Thread Howard M. Lewis Ship
I did some refactoring and implemented the new deferred service model; seems to work just fine. Don't have before and after performance numbers, but its pretty obvious that after the first invocation, it has to be faster, since its a) avoiding a method call and b) avoiding a synchronized block.

[functor] Uses for Functors

2003-09-22 Thread Matt Munz
Hi all, After reading Blocks in Java, I'm pretty sure that Functors/closures are useful in certain instances. I'm unfamiliar with the topic, however, and would like to gain a sense of in what scenarios they are best used. In the use of collections / iterators, and in the serialization of

Re: [net][patch] Added more robust SocketClient setup/cleanu

2003-09-22 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], Jeffrey D. Brekke writes: Applying the patch and cutting a RC1 gets a +1 from me. I'd say after Wed./RC1, leave the RC1 out for a week, then if no issues show up do a 1.1 release? I didn't get around to applying the changes suggested by the patch until today.

Re: [functor] Uses for Functors

2003-09-22 Thread Stephen Colebourne
[functors] grew partially from the four functors in [collections], Predicate, Closure, Factory and Transformer. (Although you can argue whether these are true functors...) Thus you could look at [collections] to see how these classes are used there. Stephen - Original Message - From:

Re: [lang] Renaming methods in NumberUtils

2003-09-22 Thread Stephen Colebourne
+1 - Original Message - From: Fredrik Westermarck [EMAIL PROTECTED] Since my account is now working properly I guess that it's time to start working. :-) I have renamed the methods stringToType in NumberUtils to toType as proposed in

Re: [collections] submission: KeyValueRecord

2003-09-22 Thread Stephen Colebourne
From: Neil O'Toole [EMAIL PROTECTED] --- Stephen Colebourne [EMAIL PROTECTED] wrote: PS. I guess this came from the rich events package, which I would like to see as an implementation of the observed code. Guilty as charged... unfortunately i've been away from my open-source desk for the

RE: [lang] Renaming methods in NumberUtils

2003-09-22 Thread Gary Gregory
+1 -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 13:53 To: Jakarta Commons Developers List Subject: Re: [lang] Renaming methods in NumberUtils +1 - Original Message - From: Fredrik Westermarck [EMAIL PROTECTED]

DO NOT REPLY [Bug 22826] - [collections] List/Set implementation.

2003-09-22 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=22826. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: DBCP + Transaction Support

2003-09-22 Thread Dirk Verbeeck
Please use the dev list as much as possible (at least in CC) It's a custom to put [DBCP] in the subject for easy filtering. Or the apache wiki is also a good place to writeup a design. Cheers Dirk Andy Zeneski wrote: I am interested in using DBCP with a JTA transaction manager to pool

[VOTE] New committer - Arun Mammen Thomas

2003-09-22 Thread Stephen Colebourne
I would like to nominate Arun Mammen Thomasas an Apache Jakarta Commons committer. Arun has provided numerous patches to [collections] over a number of months, and has also assisted [lang]. He has been a valuable monitor of Bugzilla and I believe he would be a valuable addition to the committers.

DO NOT REPLY [Bug 22826] - [collections] List/Set implementation.

2003-09-22 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=22826. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [VOTE] New committer - Arun Mammen Thomas

2003-09-22 Thread __matthewHawthorne
+1 Stephen Colebourne wrote: I would like to nominate Arun Mammen Thomasas an Apache Jakarta Commons committer. Arun has provided numerous patches to [collections] over a number of months, and has also assisted [lang]. He has been a valuable monitor of Bugzilla and I believe he would be a

[Daemon] butchering the daemon api

2003-09-22 Thread Daniel Resare
As people talk about an 1.0 release about The Jakarta Commons Daemon project I have tried to think hard about the Daemon api as it is exposed in the public interfaces in org.apache.commons.daemon. I believe that now is the right time to reform the API since it seems like no one(*) is using it

Re: [collections] BidiMap / DoubleOrderedMap

2003-09-22 Thread __matthewHawthorne
I've started some work on converting DoubleOrderedMap to TreeBidiMap. What is the suggested name for the basic BidiMap implementation which is n't sorted? DefaultBidiMap? Stephen Colebourne wrote: I have been prompted to take a look at DoubleOrderedMap by bugzilla and been a little

DO NOT REPLY [Bug 22826] - [collections] List/Set implementation.

2003-09-22 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=22826. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[vsf] status and basic issue

2003-09-22 Thread Gary Gregory
Hello VSF, VSF looks quite impressive and an almost match for what I am trying to do so I thought I'd post here and see what people think. I have a large pile of code that configures our app server based on the content of a config directory, which itself contains many subdirectories with many

RE: [functor] Uses for Functors

2003-09-22 Thread Matt Munz
Stephen, Thanks. I think that the usefulness of functors re: collections is clear to me. I'm really interested in other applications, such as event mechanisms, and in reflection-based invocation (and interception). Do you know of anyone using functors for these purposes? For instance,

Re: [jelly] Latest Jelly breaks Maven

2003-09-22 Thread dion
Maven's reactored build doesn't use properties relative to the project.xml. Try bootstrapping Maven with the latest jelly jar and you'll see what I mean. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ peter royal [EMAIL PROTECTED] wrote on 23/09/2003

Re: [lang] Renaming methods in NumberUtils

2003-09-22 Thread Phil Steitz
+1 Fredrik Westermarck wrote: Hi! Since my account is now working properly I guess that it's time to start working. :-) I have renamed the methods stringToType in NumberUtils to toType as proposed in http://marc.theaimsgroup.com/?l=jakarta-commons-devm=106284758307678w=2. The

Re: [collections] BidiMap / DoubleOrderedMap

2003-09-22 Thread Stephen Colebourne
I was thinking of HashBidiMap as I assumed it would involve hashing. (My current best thought is two tied HashMaps, but thats not very nice really...) The main thing with TreeBidiMap is to retain the speed of the specialist implementation while adding the new interface ;-) Stephen -

Re: [functor] Uses for Functors

2003-09-22 Thread Stephen Colebourne
[functor] is not a package I'm really involved in, but. AFAIN, no one is using them in the rest of Jakarta. They probably could, similarly they probably could be used for event mechanisms. I just don't know of any cases. There was some talk a while back of using functors for reflection

Re: [collections] BidiMap / DoubleOrderedMap

2003-09-22 Thread __matthewHawthorne
HashBidiMap is fine with me. My best thought seems to match yours, I'm keeping two HashMaps in sync (one the inverse of the other). I'm trying to think of a better way, but I'm drawing a blank. For now, I'm just concentrating on writing solid tests to make sure the interface works... low

cvs commit: jakarta-commons-sandbox/primitives/src/codegen/org/apache/commons/primitive/list XXXList.vm

2003-09-22 Thread scolebourne
scolebourne2003/09/22 16:54:09 Modified:primitives/src/codegen/org/apache/commons/primitive/collection XXXCollection.vm primitives/src/codegen/org/apache/commons/primitive/list XXXList.vm Log: Javadoc Revision

cvs commit: jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/collection CharCollection.java LongCollection.java IntCollection.java FloatCollection.java ShortCollection.java ByteCollection.java BooleanCollection.java DoubleCollection.java

2003-09-22 Thread scolebourne
scolebourne2003/09/22 16:55:29 Modified:primitives/src/java/org/apache/commons/primitive/collection CharCollection.java LongCollection.java IntCollection.java FloatCollection.java ShortCollection.java

cvs commit: jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list LongList.java DoubleList.java BooleanList.java ShortList.java FloatList.java CharList.java ByteList.java IntList.java

2003-09-22 Thread scolebourne
scolebourne2003/09/22 16:56:33 Modified:primitives/src/java/org/apache/commons/primitive/list LongList.java DoubleList.java BooleanList.java ShortList.java FloatList.java CharList.java ByteList.java IntList.java

cvs commit: jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/listiterator DoubleListIterator.java BooleanListIterator.java ShortListIterator.java CharListIterator.java ByteListIterator.java IntListIterator.java LongListIterator.java FloatListIterator.java

2003-09-22 Thread scolebourne
scolebourne2003/09/22 16:56:54 Modified:primitives/src/java/org/apache/commons/primitive/iterator DoubleIterator.java ShortIterator.java FloatIterator.java LongIterator.java CharIterator.java IntIterator.java

Re: [collections] BidiMap / DoubleOrderedMap

2003-09-22 Thread Phil Steitz
__matthewHawthorne wrote: HashBidiMap is fine with me. My best thought seems to match yours, I'm keeping two HashMaps in sync (one the inverse of the other). I'm trying to think of a better way, but I'm drawing a blank. For now, I'm just concentrating on writing solid tests to make sure the

Re: [collections] BidiMap / DoubleOrderedMap

2003-09-22 Thread Phil Steitz
Phil Steitz wrote: __matthewHawthorne wrote: HashBidiMap is fine with me. My best thought seems to match yours, I'm keeping two HashMaps in sync (one the inverse of the other). I'm trying to think of a better way, but I'm drawing a blank. For now, I'm just concentrating on writing solid

Re: [Chain] examples XML file available?

2003-09-22 Thread Sgarlata Matt
Comments below... - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Sunday, September 21, 2003 5:53 PM Subject: Re: [Chain] examples XML file available? On Sun, 21 Sep 2003, Sgarlata Matt wrote: Date: Sun, 21

Re: [Chain] examples XML file available?

2003-09-22 Thread Sgarlata Matt
Thanks for the test cases Ted! More comments below... - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Sunday, September 21, 2003 10:32 PM Subject: Re: [Chain] examples XML file available? If I play with the package

doubt on HttpClient design regarding HttpMethod

2003-09-22 Thread Elankath, Tarun (Cognizant)
Hi all, I am new to HttpClient and was reading through its Getting started section. What struck me immediately is that HttpMethods are full-fledged objects of their own in HttpClient. I think this is a great idea. However, I don't understand why HttpClient couldn't have something like a

DO NOT REPLY [Bug 23321] - Underscore in URL causes port to be ignored

2003-09-22 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=23321. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 15435] - New Preferences Architecture

2003-09-22 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=15435. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[OffTopic] Re: Re: doubt on HttpClient design regarding HttpMethod

2003-09-22 Thread Roland Weber
Whenever this subject comes up I can't help but think of Babylon 5 and the The Old Ones. Perhaps when the 3.0 release comes out you'll also disappear into the other realm? :-) Let's hopen Valen helps us with the architecture for 3.0 :-) cheers, Roland

DO NOT REPLY [Bug 15435] - New Preferences Architecture

2003-09-22 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=15435. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 15435] - New Preferences Architecture

2003-09-22 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=15435. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 15435] - New Preferences Architecture

2003-09-22 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=15435. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23333] New: - possible to create bad http urls without generating an exception

2003-09-22 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=2. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

fileupload question

2003-09-22 Thread Wilcox, Mark
How can I set the mime-type of a file during fileupload? thanks, mark

Re: fileupload question

2003-09-22 Thread Michael Becke
Hi Mark, If you are using the MultipartPostMethod it is specified in the FilePart constructor. For example, if you were uploading a gif it might look something like: MultipartPostMethod post = new MultipartPostMethod(/somepath); File f = new File(/tmp/test.gif); post.addPart(new

DO NOT REPLY [Bug 23333] - possible to create bad http urls without generating an exception

2003-09-22 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=2. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.