cvs commit: jakarta-commons/httpclient/xdocs charencodings.xml methods.xml redirects.xml troubleshooting.xml tutorial.xml

2003-03-11 Thread jsdever
jsdever 2003/03/11 00:03:13 Modified:httpclient/xdocs charencodings.xml methods.xml redirects.xml troubleshooting.xml tutorial.xml Log: Minor documentation improvements. Revision ChangesPath 1.2 +23 -16

cvs commit: jakarta-commons-sandbox/dbutils/src/test/org/apache/commons/dbutils Demo.java DemoHandler.java ProcedureUtilsTest.java

2003-03-11 Thread baliuka
baliuka 2003/03/11 02:19:48 Modified:dbutils/src/java/org/apache/commons/dbutils ProcedureUtils.java dbutils/src/test/org/apache/commons/dbutils Demo.java DemoHandler.java ProcedureUtilsTest.java Log: Added support for

Re: [CLI] Version 2.0 - API

2003-03-11 Thread Herve Quiroz
John, I'll be happy to contribute. Unfortunately, I can't test the CLI-2 API at the moment. All projects I'm involved in need RELEASE stuff for dependencies. As soon as I get time to work on my own projects, I'll switch them to CLI-2 which seems (from what I've seen from the API docs) quite

DO NOT REPLY [Bug 17868] New: - Missing access method to ValidatorResult$ResultStatus.result attribute

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

[DBCP] Idle time on connection not reset when working with connection?

2003-03-11 Thread Mario Ivankovits
Am i right, when i have found out, that the idle-time on the connection is only set on activate (pop from pool) and not when using the connection? Shouldnt it be set when creating statements, operation on resultset (next, getters, setters, ...) Else long running transaction might fail due to

DO NOT REPLY [Bug 17868] - Missing access method to ValidatorResult$ResultStatus.result attribute

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

Re: [collections] [PATCH] typed Collection, List, Set, Bag, and Map

2003-03-11 Thread Rodney Waldhoff
Can someone clarify the advantage of: typedBag(bag, String.class) over predicatedBag(bag, new InstanceofPredicate(String.class)); ? On Mon, 11 Mar 2003, grumpoxl wrote: The patches will take more than one message due to the size limit. I added typedXXX(Collection, Class) and

Re: [collections] [PATCH] typed Collection, List, Set, Bag, and Map

2003-03-11 Thread grumpoxl
You're correct, there is no advantage, other than the fact that it is a shortcut. And currently, collections has no dependency on lang, so there isn't access to an InstanceOfPredicate. I think it makes sense to have convenience methods for some of the more common predicates such as this one,

[lang] Pooled and mutable numbers.

2003-03-11 Thread grumpoxl
Is there any interest in: 1) A mechanism for pooling Integers, Floats, Doubles, etc. as they are created, to conserve memory. For example, instead of having: new Integer(1) scattered throughout the code, there could be a NumberPool class which would allow: NumberFactory.createInteger(1) the

DO NOT REPLY [Bug 17872] New: - DefaultFileItem issues

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

Re: [lang] Pooled and mutable numbers.

2003-03-11 Thread Juozas Baliuka
It will not increase performance, cache will create more grabage itself. - Original Message - From: grumpoxl [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:44 AM Subject: [lang] Pooled and mutable numbers. Is there any interest

Re: [lang] Pooled and mutable numbers.

2003-03-11 Thread grumpoxl
So, caching numbers will create more garbage, even if there is a cache removal mechanism (like WeakHashMap) that allows the garbage collector to remove Objects when they are not being referenced anymore? I had always assumed that reusing the same instance of an Object twice is less costly than

RE: [NET] Here's an Ant bug that we should look into fixing

2003-03-11 Thread Steve Cohen
I think the regexes have to be specified in code rather than a properties file, for a couple of reasons. 1) They are simply too complicated for many if not most users to create. 2) A regex is insufficient to do the full parsing job - a regex can tell you look for a string of 3-7 uppercase

RE: [NET] Here's an Ant bug that we should look into fixing

2003-03-11 Thread Danny Angus
As far as my less ambitious goal of parsing dates correctly on different locale systems is concerned, I posted a request on the Ant list for any sample FTP sites implemented in different languages and so far have not received any replies. Are you sure that dates are transferred in local

Re: [lang] Summarising Purple Was: [lang] Adding Purple to StringUtils

2003-03-11 Thread Alex Chaffee / Purple Technology
every new committer needs to be VOTEd in as per every other jakarta subproject. Oh, OK. My mistake. I have no problem languishing in Contributor status; it's just more convenient to commit changes directly to CVS than to make a patch (and bother someone else to incorporate it). - A

RE: [NET] Here's an Ant bug that we should look into fixing

2003-03-11 Thread Steve Cohen
I don't think the spec makes any such requirement. I can't find any at http://www.ietf.org/rfc/rfc959.txt which is the spec for ftp. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14333 where a user gives a specific example where English is not used: -r--r--r-- 1 nobody nobody

DO NOT REPLY [Bug 17470] - unknown host when loading app

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

Re: Adding TERMINAL-TYPE option to TelnetClient

2003-03-11 Thread [EMAIL PROTECTED]
You forgot to include a patch :) I include a zip file with the sources for the TERMINAL-TYPE patch. I am really a newbie in contributing to jakarta, so i'm sorry if this is not the right procedure for submitting patches. Also, I think that the support for subnegotiating options can be reused

RE: [patch] allow (enforce) zero idle objects in GenericObjectPool

2003-03-11 Thread Scott Finnerty
Sorry the patch wasn't included as promised. It should be attached to this message. -Original Message- From: Scott Finnerty Sent: Monday, March 10, 2003 3:31 PM To: [EMAIL PROTECTED] Subject: [patch] allow (enforce) zero idle objects in GenericObjectPool We have a situation where we

DO NOT REPLY [Bug 16732] - Null Pointer Re depends

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

DO NOT REPLY [Bug 16045] - null pointer in Validator.java after upgrading to Struts 1.1-b3

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

RE: [patch] allow (enforce) zero idle objects in GenericObjectPool

2003-03-11 Thread Scott Finnerty
Okay, I'll include it inline since something along the line is dropping the attachment. Index: pool/src/java/org/apache/commons/pool/impl/GenericObjectPool.java === RCS file:

DO NOT REPLY [Bug 16045] - NPE in Validator.java after upgrading to Struts 1.1b3

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

[lang] Purple patch 1 (abbreviate, difference)

2003-03-11 Thread Alex Chaffee
Patch for tests and code for StringUtils: abbreviate, difference, differenceAt - A - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Adding TERMINAL-TYPE option to TelnetClient

2003-03-11 Thread [EMAIL PROTECTED]
BUGFIX: The old TelnetClient did not clean the arrays used for option processing for each connection (as in the original class no option was accepted, the bug was there but it did not have the chance to come out) In the case that the same TelnetClient instance is used for more than one time, this

DO NOT REPLY [Bug 17882] New: - Add join(..., char c) to StringUtils (and some performance fixes). Even contains tests!

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

DO NOT REPLY [Bug 17882] - Add join(..., char c) to StringUtils (and some performance fixes). Even contains tests!

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

Launcher - Bug

2003-03-11 Thread Richard Emberson
There is a rather bad bug in commons-launcher-0.9. Its bad if you want to get notified when the child JVM dies because of an Error (like java.lang.OutOfMemoryError). I need such information because I am using Java Service Wrapper, http://wrapper.tanukisoftware.org/doc/english/, which allows one

[GUMP] Build Failure - commons-vfs

2003-03-11 Thread commons-vfs development
This email is autogenerated from the output from: http://cvs.apache.org/builds/gump/2003-03-11/commons-vfs.html Buildfile: build.xml init: [mkdir] Created dir:

[GUMP] Build Failure - commons-jelly-tags-html

2003-03-11 Thread Morgan Delagrange
This email is autogenerated from the output from: http://cvs.apache.org/builds/gump/2003-03-11/commons-jelly-tags-html.html Buildfile: build.xml init: [mkdir] Created dir:

Re: [lang] Purple patch 1 (abbreviate, difference)

2003-03-11 Thread Alex Chaffee / Purple Technology
On Tue, Mar 11, 2003 at 07:47:42AM -0800, Alex Chaffee wrote: Patch for tests and code for StringUtils: abbreviate, difference, differenceAt Oh yeah, plus line 77: * @author a href=mailto:[EMAIL PROTECTED]Alexander Day Chaffee/a :-) -- Alex Chaffee

DO NOT REPLY [Bug 17470] - unknown host when loading app

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

[OT] timers

2003-03-11 Thread Robert McIntosh
Does anyone know of a good timer utility, maybe there is one hidden in commons somewhere? I don't mean a timer like the java.util.Timer and the javax.swing.Timers which are schedule types, but a timer for well, timing operations. I have a simple one I wrote that works, but I didn't know if

Re: [OT] timers

2003-03-11 Thread Kasper Nielsen
Robert McIntosh wrote: Does anyone know of a good timer utility, maybe there is one hidden in commons somewhere? I don't mean a timer like the java.util.Timer and the javax.swing.Timers which are schedule types, but a timer for well, timing operations. I have a simple one I wrote that works,

RE: [OT] timers

2003-03-11 Thread Shapira, Yoav
Howdy, I tend to use the simplest of all: long opStart = System.currentTimeMillis(); ... do stuff ... long opEnd = System.currentTimeMillis(); ... elapsed time in milliseconds = opEnd - opStart I know this approach isn't 100% accurate due to threading issues, CPU cycles, etc, but it's good

Re: [OT] timers

2003-03-11 Thread Jeff Mesnil
Hi, Robert McIntosh wrote: Does anyone know of a good timer utility, maybe there is one hidden in commons somewhere? I don't mean a timer like the java.util.Timer and the javax.swing.Timers which are schedule types, but a timer for well, timing operations. I have a simple one I wrote that

Re: [OT] timers

2003-03-11 Thread Robert McIntosh
I would prefer to stay in Java as I want to use it in different deployments, but thanks. - Robert Kasper Nielsen wrote: Robert McIntosh wrote: Does anyone know of a good timer utility, maybe there is one hidden in commons somewhere? I don't mean a timer like the java.util.Timer and the

Re: [OT] timers

2003-03-11 Thread Robert McIntosh
I started out using that approach, and then wrote a simple class that does that via a start() and stop() method, then formats the results for logging and other purposes. So the output looks like 1s: 345ms. There are a couple of other formats for just milliseconds, just seconds, etc. Makes it

Re: [OT] timers

2003-03-11 Thread Robert McIntosh
You are correct about the formatting. It was just convient to do: timer.start(); long code timer.stop(); log.info( Operation took + timer.getSecondsWithMilliseconds() ); // Formatted string Although I can get the 'raw' time in milliseconds as well if needed by some other

cvs commit: jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration ConfigurationUtils.java XMLConfiguration.java

2003-03-11 Thread epugh
epugh 2003/03/11 09:38:12 Modified:configuration/src/java/org/apache/commons/configuration ConfigurationUtils.java XMLConfiguration.java Log: import statement cleanup Revision ChangesPath 1.2 +1 -5

cvs commit: jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration CompositeConfiguration.java

2003-03-11 Thread epugh
epugh 2003/03/11 09:38:54 Modified:configuration/src/java/org/apache/commons/configuration CompositeConfiguration.java Log: Fixed getting a config value when you have a defaultValue provided. Revision ChangesPath 1.2 +200 -72

cvs commit: jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration TestClassPropertiesConfiguration.java TestPropertiesConfiguration.java

2003-03-11 Thread epugh
epugh 2003/03/11 09:39:33 Modified:configuration/src/test/org/apache/commons/configuration TestClassPropertiesConfiguration.java TestPropertiesConfiguration.java Log: import statement cleanup Revision ChangesPath 1.5

Re: [OT] timers

2003-03-11 Thread Henri Yandell
Quartz is our choice. Open source cron/timer: http://www.part.net/quartz.html We used to use JDRing, but prefer Quartz now. On Tue, 11 Mar 2003, Robert McIntosh wrote: Does anyone know of a good timer utility, maybe there is one hidden in commons somewhere? I don't mean a timer like the

cvs commit: jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration CompositeConfiguration.java

2003-03-11 Thread epugh
epugh 2003/03/11 10:03:44 Modified:configuration/src/java/org/apache/commons/configuration CompositeConfiguration.java Log: inadvertantly added an infinite loop. darn () characters! Revision ChangesPath 1.3 +6 -6

cvs commit: jakarta-commons-sandbox/configuration/src/test/org/apache/commons/configuration BaseNonStringProperties.java TestNonStringProperties.java

2003-03-11 Thread epugh
epugh 2003/03/11 10:04:20 Modified:configuration/src/test/org/apache/commons/configuration BaseNonStringProperties.java TestNonStringProperties.java Log: Added more tests for defaultValues to verify infinite loop bug fixed!

Re: [OT] timers

2003-03-11 Thread scolebourne
See also [lang]'s time package (unreleased) where there is a StopWatch class. Stephen from:Jeff Mesnil [EMAIL PROTECTED] date:Tue, 11 Mar 2003 18:05:06 to: [EMAIL PROTECTED], [EMAIL PROTECTED] subject: Re: [OT] timers Hi, Robert McIntosh wrote: Does anyone know of a

cvs commit: jakarta-commons-sandbox/dbutils/src/test/org/apache/commons/dbutils Demo.java ProcedureUtilsTest.java

2003-03-11 Thread baliuka
baliuka 2003/03/11 10:57:47 Modified:dbutils STATUS.html dbutils/src/java/org/apache/commons/dbutils ProcedureUtils.java dbutils/src/test/org/apache/commons/dbutils Demo.java ProcedureUtilsTest.java Log:

Re: [OT] timers

2003-03-11 Thread Robert McIntosh
I shall do that. I knew there had to be one somewhere in commons :-) - Robert [EMAIL PROTECTED] wrote: See also [lang]'s time package (unreleased) where there is a StopWatch class. Stephen from:Jeff Mesnil [EMAIL PROTECTED] date:Tue, 11 Mar 2003 18:05:06 to: [EMAIL PROTECTED],

Re: [lang] Pooled and mutable numbers.

2003-03-11 Thread Stephen Colebourne
1) A mechanism for pooling Integers, Floats, Doubles, etc. as they are created, to conserve memory. For example, instead of having: new Integer(1) scattered throughout the code, there could be a NumberPool class which would allow: NumberFactory.createInteger(1) the values would be

Re: [lang] Releases

2003-03-11 Thread Stephen Colebourne
I am in favour of moving towards a release soon, but it will be major (2.0) not minor. Stephen - Original Message - From: Gary Gregory [EMAIL PROTECTED] Can we have a maintenance release before all things Purple get in Lang? Gary -Original Message- From: Alex Chaffee

Re: [PATCH] AdaptorRegistry

2003-03-11 Thread Stephen Colebourne
Hmmm I've taken a look at adaptor registry, and I'm currently not entirely convinced. Its not that it doesn't work, or that its probably very useful. The problem I see is that it is basically a lookup class, searching for something mapped using an interface and class as a key. Which is fine,

Re: [DBCP] Re: REVIEW: Pooled connection architecture vulnerableto double use

2003-03-11 Thread Kris Nuttycombe
While the validation query solution would be a good one, it unfortunately doesn't work for our application. Our pool may establish a connection to any one of over 200 different databases around the world, many of which we do not have any control over. Creating a maintainable validation query

Re: [collections] Faster than HashMap?

2003-03-11 Thread Stephen Colebourne
maybe the files will attach as text files... - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Sunday, March 09, 2003 12:12 AM Subject: Re: [collections] Faster than HashMap? Trying to attach the files again...

[VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Stephen Colebourne
I hereby nominate Alex Chaffee as a commons committer. He is a Tomcat committer at present. He currently wants to assist with the development of [lang] and has had a history with supporting library code with his own utilities of this nature. Votes for commons committer status? Stephen

Re: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Stephen Colebourne
Here's my +1 Stephen - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] I hereby nominate Alex Chaffee as a commons committer. He is a Tomcat committer at present. He currently wants to assist with the development of [lang] and has had a history with supporting library

RE: [dbutils] propose adding getResultSetMetaData to DbUtils.ResultSetHandler

2003-03-11 Thread Steven Caswell
OK, here is a proposal: Create new interface ResultSetMetaDataHandler: public interface ResultSetMetaDataHandler { public void handle(ResultSetMetaData rsmd) throws SQLException; } Modify DbUtils.executeQuery to accept an optional instance of ResultSetMetaDataHandler. executeQuery would

Re: [lang] Pooled and mutable numbers.

2003-03-11 Thread Rich Dougherty
1) A mechanism for pooling Integers, Floats, Doubles, etc. as they are created, to conserve memory. For example, instead of having: new Integer(1) scattered throughout the code, there could be a NumberPool class which would allow: NumberFactory.createInteger(1) the values would be cached, and

Re: [general] Attachments

2003-03-11 Thread Stephen Colebourne
It seems .java files are rejected, but .txt and .patch files are accepted. Anybody know who controls this? Stephen - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Sunday, March 09, 2003 12:15 AM Subject:

RE: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread James Mitchell
Forgive me if I'm wrong, but committers need only request commit rights to commons and they are granted by default. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: Stephen Colebourne [mailto:[EMAIL

RE: [PATCH] AdaptorRegistry

2003-03-11 Thread Howard M. Lewis Ship
I can see how AdaptorRegistry fits into a whole family of registries. In most of the other cases, it's a simple one-to-one lookup, which can be accomplished using a key (String or Enum) on one end, and an instance on the other. To do that requires just a Map. Let me just restate the obvious:

RE: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Henri Yandell
commons-sandbox. Commons is an utterly different beast to Commons-Sandbox. On Tue, 11 Mar 2003, James Mitchell wrote: Forgive me if I'm wrong, but committers need only request commit rights to commons and they are granted by default. -- James Mitchell Software Developer/Struts Evangelist

Re: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Henri Yandell
+1 On Tue, 11 Mar 2003, Stephen Colebourne wrote: Here's my +1 Stephen - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] I hereby nominate Alex Chaffee as a commons committer. He is a Tomcat committer at present. He currently wants to assist with the development

RE: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread James Mitchell
Doh! I see. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 6:38 PM To: Jakarta Commons Developers List Subject: RE: [VOTE] Nominate

Re: [general] Attachments

2003-03-11 Thread Henri Yandell
thought i'd test from a relatively independent setup [pine+postfix] to make sure this isn't an ISP/company thing. On Tue, 11 Mar 2003, Stephen Colebourne wrote: It seems .java files are rejected, but .txt and .patch files are accepted. Anybody know who controls this? Stephen -

Re: [general] Attachments

2003-03-11 Thread Henri Yandell
My .java file got through. On Tue, 11 Mar 2003, Henri Yandell wrote: thought i'd test from a relatively independent setup [pine+postfix] to make sure this isn't an ISP/company thing. On Tue, 11 Mar 2003, Stephen Colebourne wrote: It seems .java files are rejected, but .txt and .patch

Re: [general] Attachments

2003-03-11 Thread Stephen Colebourne
M$ outlook express crap... ;-) (although I feel sure it used to work) Stephen - Original Message - From: Henri Yandell [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:41 PM Subject: Re: [general] Attachments My .java file

Re: [lang] ObjectUtils interner?

2003-03-11 Thread Stephen Colebourne
Any views on this one? It seems like a sensible addition to ObectUtils. (Although I'm not sure of the exact use it would be. Hmmm) Stephen - Original Message - From: Rich Dougherty [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003

RE: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Steven Caswell
A hearty +1 :) Steven Caswell [EMAIL PROTECTED] a.k.a Mungo Knotwise of Michel Delving One ring to rule them all, one ring to find them... -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 6:32 PM To: Jakarta Commons Developers

Re: [lang] StopWatch enhancement

2003-03-11 Thread Stephen Colebourne
The biggest problem with StopWatch and the other time classes is working out exactly how they should work and inter-relate, particularly re formats (everybody has their own favorite). And interestingly, its not entirely obvious to me as to what the getXxx methods return - is it a string or a

Re: [DBCP] Idle time on connection not reset when working withconnection?

2003-03-11 Thread Rodney Waldhoff
Within [pool] (and hence [dbcp]), an object is considered active when it has been borrowed (in dbcp, via getConnection or prepareStatement) but not yet returned (in dbcp, via close). An object is considered idle when it is not active (i.e., after it has been returned to the pool but before it

Re: [collections] [PATCH] typed Collection, List, Set, Bag, and Map

2003-03-11 Thread Rodney Waldhoff
On Tue, 11 Mar 2003, Stephen Colebourne wrote: The type-limited collection concept is probably the most common of the predicate implementations. It was also the one from which predicated collections were born. Although this patch will not really add any new functionality to [collections], it

Re: [lang] StopWatch enhancement

2003-03-11 Thread Robert McIntosh
Good questions. The returns are strings. Stephen Colebourne wrote: The biggest problem with StopWatch and the other time classes is working out exactly how they should work and inter-relate, particularly re formats (everybody has their own favorite). And interestingly, its not entirely obvious

Re: [collections] [PATCH] typed Collection, List, Set, Bag, and Map

2003-03-11 Thread Stephen Colebourne
It'll be at least the weekend before I get to it. So there's time for other support/objections. Stephen - Original Message - From: Rodney Waldhoff [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 12:00 AM Subject: Re: [collections]

Re: [lang] StopWatch enhancement

2003-03-11 Thread Henri Yandell
What??? Return should be an int[] as in Unix-C/Perl [tongue in cheek, honest] On Tue, 11 Mar 2003, Robert McIntosh wrote: Good questions. The returns are strings. Stephen Colebourne wrote: The biggest problem with StopWatch and the other time classes is working out exactly how they

cvs commit: jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example QuicksortExample.java TestAll.java Quicksort.java

2003-03-11 Thread rwaldhoff
rwaldhoff2003/03/11 16:12:44 Modified:functor/src/test/org/apache/commons/functor/example TestAll.java Added: functor/src/test/org/apache/commons/functor/example QuicksortExample.java Removed:

Re: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread bob mcwhirter
+1 -bob On Tue, 11 Mar 2003, Stephen Colebourne wrote: I hereby nominate Alex Chaffee as a commons committer. He is a Tomcat committer at present. He currently wants to assist with the development of [lang] and has had a history with supporting library code with his own utilities

DO NOT REPLY [Bug 17902] New: - [PATCH] MapUtils - invert mapping and convert ResourceBundle to Map

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

DO NOT REPLY [Bug 17902] - [PATCH] MapUtils - invert mapping and convert ResourceBundle to Map

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

Re: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Alex Chaffee / Purple Technology
Aw, shucks, guys, I'm speechless. I want to thank the Academy... I want to thank my parents for not practicing birth control... I want to thank Brian Behlendorf for making all this possible... This nomination may perhaps be found by future generations as a trifle eccentric, but the mere fact of

cvs commit: jakarta-commons-sandbox/dbutils/src/java/org/apache/commons/dbutils DbUtils.java

2003-03-11 Thread stevencaswell
stevencaswell2003/03/11 17:54:25 Modified:dbutils/src/java/org/apache/commons/dbutils DbUtils.java Log: - corrected executeQuery(Connection, String, Object[], ResultSetHandler), added null userObject argument to call of executeQuery (was causing endless recursive loop - added

Re: [VOTE] Nominate Alex Chaffee as Commons committer

2003-03-11 Thread Juozas Baliuka
+1 - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 1:31 AM Subject: [VOTE] Nominate Alex Chaffee as Commons committer I hereby nominate Alex Chaffee as a commons committer. He is a

Re: [dbutils] propose adding getResultSetMetaData to DbUtils.ResultSetHandler

2003-03-11 Thread Juozas Baliuka
I think it is ok. - Original Message - From: Steven Caswell [EMAIL PROTECTED] To: 'Juozas Baliuka' [EMAIL PROTECTED]; 'Jakarta Commons Developers List' [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 1:31 AM Subject: RE: [dbutils] propose adding getResultSetMetaData to

Re: [lang] ObjectUtils interner?

2003-03-11 Thread Juozas Baliuka
I am not sure it can help for performance, but it is possible to test it. This method creates new WeakReferense object per operation, MapEntry per object and hols an array of size + 15%. This produces more grabage than trivial objects like Integer. snip public Object intern(Object

cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator Validator.java

2003-03-11 Thread dgraham
dgraham 2003/03/11 21:58:58 Modified:validator/src/share/org/apache/commons/validator Validator.java Log: Formatting changes only. Revision ChangesPath 1.12 +518 -483

cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator Validator.java

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:00:52 Modified:validator/src/share/org/apache/commons/validator Validator.java Log: Rearranged variable declaration for simplicity. Revision ChangesPath 1.13 +7 -6

cvs commit: jakarta-commons/validator build.xml

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:02:53 Modified:validator build.xml Log: Added 1.0.1 dtd to build. Revision ChangesPath 1.17 +3 -1 jakarta-commons/validator/build.xml Index: build.xml === RCS file:

cvs commit: jakarta-commons/validator/conf/share validator_1_0_1.dtd

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:03:43 Modified:validator/conf/share validator_1_0_1.dtd Log: Updated version to 1.0.1. Revision ChangesPath 1.2 +2 -2 jakarta-commons/validator/conf/share/validator_1_0_1.dtd Index: validator_1_0_1.dtd

cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator ValidatorResourcesInitializer.java

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:06:46 Modified:validator/src/share/org/apache/commons/validator ValidatorResourcesInitializer.java Log: Register both 1.0 and 1.0.1 dtds. PR #17470. Revision ChangesPath 1.12 +8 -6

DO NOT REPLY [Bug 17470] - unknown host when loading app

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

cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator Validator.java

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:22:23 Modified:validator/src/share/org/apache/commons/validator Validator.java Log: Only call validateField if field has a depends clause (ie. !=null). PR #16045. Revision ChangesPath 1.14 +7 -6

DO NOT REPLY [Bug 16045] - NPE in Validator.java after upgrading to Struts 1.1b3

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

cvs commit: jakarta-commons/validator STATUS.html

2003-03-11 Thread dgraham
dgraham 2003/03/11 22:24:18 Modified:validator STATUS.html Log: Added myself to list of committers. Revision ChangesPath 1.7 +1 -0 jakarta-commons/validator/STATUS.html Index: STATUS.html

Re: new cool documentation

2003-03-11 Thread Adrian Sutton
Thanks for that clean up Jeff. It's nice to have a couple of people come along behind you and do all the tedious polishing. :) I particularly like using em and code to distinguish the different HttpClient's. If anyone has further suggestions for documentation please do speak up. Hopefully I'll

Re: new cool documentation

2003-03-11 Thread Adrian Sutton
Oleg, Please change away. Character encoding in HttpClient is fairly unknown to me since we pretty much only transfer binary files. :) The initial writing of the docs is only the first step, now we have to keep them accurate and up to date. :) Adrian Sutton. - Original Message - From:

DO NOT REPLY [Bug 11190] - need getResponseContentLength in HttpMethod

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

DO NOT REPLY [Bug 11190] - need getResponseContentLength in HttpMethod

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

DO NOT REPLY [Bug 17870] New: - Cookie should be an Interface

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

DO NOT REPLY [Bug 13050] - Port 80 is needed to run tests

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

Re: new cool documentation

2003-03-11 Thread Ortwin Glück
wow! I'm deeply impressed. Odi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

MultipartPost - empty FilePart

2003-03-11 Thread mathis
Hi I want to send a empty FilePart because the server on the other sides expect a file part but it's not a must to send a file. If I try to add an empty FilePart I get a NullpointerException. Gtx, Thomas - To unsubscribe,

  1   2   >