Re: [lang] CharacterEncoding

2004-09-30 Thread Henri Yandell
+1 to CharEncoding. On Fri, 1 Oct 2004 00:13:59 +0100, Stephen Colebourne <[EMAIL PROTECTED]> wrote: > We should move to decide on the inclusion or not of this class. > > My vote is +1 > > However I would prefer the name CharEncoding (avoids clash with sun class > and fits better with other lan

DO NOT REPLY [Bug 31500] New: - Problem in Reading the Bean containing another bean

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

[dbutils] QueryRunner.query with no replacement params

2004-09-30 Thread jon gold
i notice that QueryRunner.query always prepares a statement -- even if there are no replacement parameters. why is this? the reason i ask is that it leads to undue bloat on a statement pool when used in conjunction with a connection from a connection pool. in our case, we eventually get OutOfMe

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Joe Germuska
At 12:54 PM -0700 9/30/04, Martin Cooper wrote: > Hmmm.. Personally, I don't think putting it in a different package is overkill. Adding velocity requires the addition of Velocity.jar to build, but not to run (unless of course, you use the class ;-). I'd prefer to avoid a required build-time d

Re: [NET] Designing a Date Format-aware FTP Entry Parser

2004-09-30 Thread Steve Cohen
On Thursday 30 September 2004 7:09 am, Mario Ivankovits wrote: > Steve Cohen wrote: > >This business of constantly churning does bother me. > > I hope I dont leave to negative impressions on you. I didn't mean to leave such an impression. > > If we find an agreement it could be possible with the

Re: [lang] Mutable type casts and MutableNumber

2004-09-30 Thread Stephen Colebourne
From: "matthew.hawthorne" <[EMAIL PROTECTED]> > Gary Gregory wrote: > > 1st minor: there are a bunch of unnecessary type-casts, I'd like to > > remove those if no one objects. +1 > > 2nd: There is no MutableNumber class. It seems to me that the mutable > > number classes are paralle to java.lang.N

[lang] CharacterEncoding

2004-09-30 Thread Stephen Colebourne
We should move to decide on the inclusion or not of this class. My vote is +1 However I would prefer the name CharEncoding (avoids clash with sun class and fits better with other lang classes) Stephen - To unsubscribe, e-mail:

[lang] Move Tokenizer to text package and update it

2004-09-30 Thread Stephen Colebourne
My intention with the creation of the text package was to move Tokenizer there too. ie. it was to hold all the instantiated (rather than static utils) string manipulation classes. Any objections? I also plan to update the internals to allow for tokenizing on strings as well as chars. Any objecti

Re: [lang] bug#30929 - use isAssignableFrom

2004-09-30 Thread Stephen Colebourne
A slightly reluctant +1, its marginal as to whether it is a bug fix ir a change, but I think bug fix just about wins. Stephen - Original Message - From: "Henri Yandell" <[EMAIL PROTECTED]> > I think this bug makes sense: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=30929 > > Ass

[CLI] single-character option bug?

2004-09-30 Thread savantsaro
Using CLI 1.0 It may be that any time you give a single-letter argument to an Option that corresponds to a character representing an(other) Option, the argument is not properly assigned to the Option, but is rather assumed to be another Option identifier. I'll test this further, but would very

[CLI] single-character option bug?

2004-09-30 Thread savantsaro
Using CLI 1.0 It may be that any time you give a single-letter argument to an Option that corresponds to a character representing an(other) Option, the argument is not properly assigned to the Option, but is rather assumed to be another Option identifier. I'll test this further, but would very

DO NOT REPLY [Bug 31477] - The version in the manifest for version 1.7 is wrong it says 1.6

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Mike Stanley
> I hadn't realized there was one -- do you have a pointer? However, > if using that requires a dependency on Groovy, then I'd want to wait > until Groovy hits 1.0. My sense is that it's still prone to a lot of > change. I can't really attest to it. But I did notice it a little while ago. I

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Martin Cooper
On Fri, 01 Oct 2004 13:45:43 -0400, Mike Stanley <[EMAIL PROTECTED]> wrote: > On Thu, 2004-09-30 at 11:30, Joe Germuska wrote: > > > At 10:32 AM -0400 10/1/04, Mike Stanley wrote: > > >I don't think there is a maintainer for this (ultra-tiny but useful), > > >sandbox component. Can someone take t

Re: [lang] Mutable type casts and MutableNumber

2004-09-30 Thread matthew.hawthorne
Gary Gregory wrote: 1st minor: there are a bunch of unnecessary type-casts, I'd like to remove those if no one objects. For example, in MutableInteger, this cast to long is superfluous: public long longValue() { return (long) value; } That sounds right, perhaps these casts were just

cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate BlogService.java BlogServiceDiscovery.java FeedLocator.java ProbeLocator.java

2004-09-30 Thread burton
burton 2004/09/30 12:27:38 Modified:feedparser/src/java/org/apache/commons/feedparser/locate BlogService.java BlogServiceDiscovery.java FeedLocator.java ProbeLocator.java Log: Fix for flickr... use HTTP 404 guys... ug Revision Ch

[RESULT][betwixt] Release Betwixt 0.6

2004-09-30 Thread robert burrell donkin
i count 4 binding +1's only: http://nagoya.apache.org/eyebrowse/BrowseList?listName=commons- [EMAIL PROTECTED]&by=thread&from=887887. therefore, the release vote has passed. unless the pmc registers an objection before then, i will cut this release not earlier than saturday 2nd october 2300

[chain] New interface: CatalogFactory

2004-09-30 Thread Sean Schofield
Attached is the new CatalogFactory interface that I proposed a while back. I welcome any comments, concerns or objections. I will be providing a default implentation (as Craig has suggested) but I'd like to get feedback on the interface first. Thanks, sean /* * Copyright 1999-2004 The Apache

DO NOT REPLY [Bug 31496] New: - contentType comparisons should be case-insensitive

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

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

2004-09-30 Thread olegk
olegk 2004/09/30 11:53:20 Modified:httpclient/src/java/org/apache/commons/httpclient HttpException.java URIException.java Log: PR #31476 (3.0 not compile-time compatible with 2.0 library usage) Restores compatibility with 2.0 clients Contributed by

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Joe Germuska
> I guess I wouldn't think it appropriate to put on ibiblio as it is now. Would you be satisfied with a SNAPSHOT build on the Apache "nightly-build/beta" repository? http://cvs.apache.org/repository/ Well, there is currently two different (and old) Snapshot builds on ibiblio and a very old 0

RE: [email] Please add new build to ibiblio

2004-09-30 Thread Shapira, Yoav
Hi, >I do think the email stuff is useful (although a very small library). > >Glad to see that there is an echo response :-) I think you'll get a lot more than an echo -- pings like yours are *exactly* what small components need to gather momentum and shorten the time to a 1.0 release. I comple

RE: [email] Please add new build to ibiblio

2004-09-30 Thread Mike Stanley
> >Yeah, but there is already junk up there. Why not put something that > >can be used up there? > > Because two wrongs don't make a right IMHO ;) I see your point. My gripe with everything I think has more to do with the auto-build of the sites. This isn't really the best example, but doc

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

2004-09-30 Thread olegk
olegk 2004/09/30 11:15:22 Modified:httpclient/src/java/org/apache/commons/httpclient HttpMethodBase.java MultiThreadedHttpConnectionManager.java httpclient/src/test/org/apache/commons/httpclient Simp

RE: [email] Please add new build to ibiblio (and general commons/maven/deployment questions)

2004-09-30 Thread Joe Germuska
At 12:16 PM -0400 9/30/04, Shapira, Yoav wrote: Hi, I guess I wouldn't think it appropriate to put on ibiblio as it is now. Would you be satisfied with a SNAPSHOT build on the Apache "nightly-build/beta" repository? http://cvs.apache.org/repository/ Maybe I'm making too much of the "sandbox" stat

RE: [email] Please add new build to ibiblio

2004-09-30 Thread Shapira, Yoav
Hi, >Yeah, but there is already junk up there. Why not put something that >can be used up there? Because two wrongs don't make a right IMHO ;) If anything, we should either remove what's there (which is against iBiblio policy I think, so can't be done) or add a notice that says the stuff on th

cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/locate BlogService.java BlogServiceDiscovery.java FeedLocator.java ProbeLocator.java

2004-09-30 Thread burton
burton 2004/09/30 11:00:33 Modified:feedparser/src/java/org/apache/commons/feedparser/locate BlogService.java BlogServiceDiscovery.java FeedLocator.java ProbeLocator.java Log: Fix for yahoo groups Revision ChangesPath 1.3

RE: [email] Please add new build to ibiblio

2004-09-30 Thread Mike Stanley
On Thu, 2004-09-30 at 12:16, Shapira, Yoav wrote: > Hi, > > >I guess I wouldn't think it appropriate to put on ibiblio as it is > >now. Would you be satisfied with a SNAPSHOT build on the Apache > >"nightly-build/beta" repository? http://cvs.apache.org/repository/ > > > >Maybe I'm making too mu

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Mike Stanley
On Thu, 2004-09-30 at 11:30, Joe Germuska wrote: > At 10:32 AM -0400 10/1/04, Mike Stanley wrote: > >I don't think there is a maintainer for this (ultra-tiny but useful), > >sandbox component. Can someone take the initiative and push the latest > >build to the repository at ibiblio? Maybe even c

[lang] Mutable type casts and MutableNumber

2004-09-30 Thread Gary Gregory
Hello, I do like the new mutable classes; I can use them now in our project as a matter of fact. Two issues, 1st minor: there are a bunch of unnecessary type-casts, I'd like to remove those if no one objects. For example, in MutableInteger, this cast to long is superfluous: public long lon

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

2004-09-30 Thread oglueck
oglueck 2004/09/30 10:26:41 Modified:httpclient/src/java/org/apache/commons/httpclient HttpsURL.java HttpURL.java httpclient/src/test/org/apache/commons/httpclient TestURI.java Log: Fixed escaping problem in userinfo:

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

2004-09-30 Thread oglueck
oglueck 2004/09/30 10:26:27 Modified:httpclient/src/test/org/apache/commons/httpclient Tag: HTTPCLIENT_2_0_BRANCH TestURI.java httpclient/src/java/org/apache/commons/httpclient Tag: HTTPCLIENT_2_0_BRANCH HttpsURL.java HttpURL

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

2004-09-30 Thread ggregory
ggregory2004/09/30 10:24:47 Modified:lang/src/java/org/apache/commons/lang/math package.html lang/src/java/org/apache/commons/lang/enums Enum.java lang/src/java/org/apache/commons/lang/enum ValuedEnum.java EnumUtils.java Enum.java pac

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

2004-09-30 Thread ggregory
ggregory2004/09/30 09:57:18 Modified:lang/src/java/org/apache/commons/lang/text MappedMessageFormat.java Log: Javadoc. Revision ChangesPath 1.3 +7 -5 jakarta-commons/lang/src/java/org/apache/commons/lang/text/MappedMessageFormat.java

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/text package.html

2004-09-30 Thread ggregory
ggregory2004/09/30 09:57:05 Added: lang/src/java/org/apache/commons/lang/text package.html Log: Javadoc package description. Revision ChangesPath 1.1 jakarta-commons/lang/src/java/org/apache/commons/lang/text/package.html Index: package.html ===

cvs commit: jakarta-commons/lang build.xml

2004-09-30 Thread ggregory
ggregory2004/09/30 09:51:14 Modified:lang build.xml Log: The Sun Javadoc for versions prior to 1.3 are off-line: http://java.sun.com/j2se/1.3/docs/api/"/> Revision ChangesPath 1.27 +3 -2 jakarta-commons/lang/build.xml Index: build.xml ==

RE: [lang] DurationFormat

2004-09-30 Thread Gary Gregory
I just discovered that the compile error happens on 1.3.1_12 but not on 1.4.2_05. This means that the code can compile if you use 1.4 but it will blow up at runtime on 1.3: test.time: [echo] Running time package tests ... [java] ...F..E.E... [java] Time: 4.6

RE: [NET] Designing a Date Format-aware FTP Entry Parser

2004-09-30 Thread Rory Winston
I'm also in favour of the general staying staying exactly the same as it is now, except for the (few) edge cases that cause us problems. Using something like setShortMonthNames() as Steve mentioned earlier sounds reasonable enough to me to catch Locale-related language issues, and the data forma

DO NOT REPLY [Bug 31489] - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 31489] - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

RE: [lang] DurationFormat

2004-09-30 Thread Gary Gregory
Hello, Compile errors due to an incomplete commit? >From Ant: compile: [javac] Compiling 73 source files to C:\cvs-store\apache.org\jakarta\commons\lang\target\classes [javac] C:\cvs-store\apache.org\jakarta\commons\lang\src\java\org\apache\commons \lang\time\DurationFormatUtils.java:261

RE: [email] Please add new build to ibiblio

2004-09-30 Thread Shapira, Yoav
Hi, >I guess I wouldn't think it appropriate to put on ibiblio as it is >now. Would you be satisfied with a SNAPSHOT build on the Apache >"nightly-build/beta" repository? http://cvs.apache.org/repository/ > >Maybe I'm making too much of the "sandbox" status and the like, but >my sense has been

Re: [email] Please add new build to ibiblio

2004-09-30 Thread Joe Germuska
At 10:32 AM -0400 10/1/04, Mike Stanley wrote: I don't think there is a maintainer for this (ultra-tiny but useful), sandbox component. Can someone take the initiative and push the latest build to the repository at ibiblio? Maybe even coordinate a 0.2 release :-) I'm not the maintainer, but I rec

DO NOT REPLY [Bug 31489] - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: [validator] ISBNValidator

2004-09-30 Thread Mark Lowe
Okay Boss. Apache license and test class submitted. Mark On 30 Sep 2004, at 15:09, David Graham wrote: Validator uses the standard Java coding conventions. Considering I don't know anything about ISBN numbers I would need a JUnit test case proving it works and some javadoc describing the ISBN

DO NOT REPLY [Bug 31489] - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 31489] - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 31489] New: - ISBN Validator enhancement request

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

[email] Please add new build to ibiblio

2004-09-30 Thread Mike Stanley
I don't think there is a maintainer for this (ultra-tiny but useful), sandbox component. Can someone take the initiative and push the latest build to the repository at ibiblio? Maybe even coordinate a 0.2 release :-) In addition, I have a basic class VelocityHtmlEmail that extends HtmlEmail and

Re: DBCP: Question about throwing an exception when Connection.close() is called twice

2004-09-30 Thread Austin Mills
Dirk, I see your point about helping to detect poor logic, but wouldn't it be better to just print out a warning log message stating that the connection was double-closed, perhaps with a stack trace? That way, the code which would be legal (according to the javadoc) will still operate. This was

Re: [validator] ISBNValidator

2004-09-30 Thread David Graham
Validator uses the standard Java coding conventions. Considering I don't know anything about ISBN numbers I would need a JUnit test case proving it works and some javadoc describing the ISBN rules before I would commit anything. Add the Apache 2.0 license to the top of your .java files before att

DO NOT REPLY [Bug 30897] - New methods in RealMatrixImpl and changing indexing

2004-09-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: [validator] ISBNValidator

2004-09-30 Thread Henri Yandell
http://www.generationjava.com/research/ISBN.java for one to compare against. Hen On Thu, 30 Sep 2004 08:56:13 -0400, Henri Yandell <[EMAIL PROTECTED]> wrote: > Having a quick peek, I don't see any code in there to handle X being > 10. Have you tested it for an ISBN with an X of 10 yet. Currently

Re: [validator] ISBNValidator

2004-09-30 Thread Henri Yandell
Having a quick peek, I don't see any code in there to handle X being 10. Have you tested it for an ISBN with an X of 10 yet. Currently it looks as though it strips out X's. Submitting a unit-test class as well is always very useful, especially with new classes. Hen On Thu, 30 Sep 2004 12:53:43

Re: [NET] Designing a Date Format-aware FTP Entry Parser

2004-09-30 Thread Mario Ivankovits
Steve Cohen wrote: This business of constantly churning does bother me. I hope I dont leave to negative impressions on you. If we find an agreement it could be possible with the way you build the framework - it is good enough for me. --- Mario ---

Re: [NET] Designing a Date Format-aware FTP Entry Parser

2004-09-30 Thread Steve Cohen
On Thursday 30 September 2004 5:39 am, Mario Ivankovits wrote: > Steve Cohen wrote: > >First parser to successfully parse every > >item in the listing I suppose. Or do you go for best score? > > line-by-line - the first parser which is able to parse should be cached > (ad performance) - that way

[validator] ISBNValidator

2004-09-30 Thread Mark Lowe
Hello I've just written an ISBN validator I don't think i can diff a file that doesn't exist. But i'd like to see if its of use to anyone other than myself. I've attached it and i'll just check the commons stuff out of cvs and see if there's a jalopy template that could iron out anything that

Re: [NET] Designing a Date Format-aware FTP Entry Parser

2004-09-30 Thread Mario Ivankovits
Steve Cohen wrote: >First parser to successfully parse every >item in the listing I suppose. Or do you go for best score? line-by-line - the first parser which is able to parse should be cached (ad performance) - that way it might be only slower on the first match However the parser should be pre

[lang] bug#30929 - use isAssignableFrom

2004-09-30 Thread Henri Yandell
I think this bug makes sense: http://issues.apache.org/bugzilla/show_bug.cgi?id=30929 Assuming no one disagrees, do we want to make the change in indexOfThrowable or create a new method? The javadoc for indexOfThrowable says 'type', which to me would imply inheritence is adhered to. I ask as the

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

2004-09-30 Thread bayard
bayard 2004/09/30 00:03:25 Modified:lang/src/java/org/apache/commons/lang/exception ExceptionUtils.java NestableDelegate.java Log: rolled back BUG#30929 pending opinions Revision ChangesPath 1.41 +4 -2 jakarta-commons/lang/src/java/org/