Re: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Stephen Colebourne
I changed this based on subList() in the collections API. substring() is an alternative precedent, so I am open to opinions. Stephen - Original Message - From: Ash .. [EMAIL PROTECTED] Thanks for integrating the subarray implementation patch. However, I am curious to know why Stephen

cvs commit: jakarta-commons/launcher LICENSE.txt

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:13:47 Modified:launcher LICENSE.txt Log: update license (year cvs tags) Revision ChangesPath 1.3 +8 -3 jakarta-commons/launcher/LICENSE.txt Index: LICENSE.txt ===

cvs commit: jakarta-commons/launcher build.xml LICENSE

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:14:31 Modified:launcher build.xml Removed: launcher LICENSE Log: use LICENSE.txt Revision ChangesPath 1.3 +3 -3 jakarta-commons/launcher/build.xml Index: build.xml

cvs commit: jakarta-commons/launcher/src/java/org/apache/commons/launcher/types ArgumentSet.java ConditionalArgument.java ConditionalArgumentSet.java ConditionalVariable.java ConditionalVariableSet.java JVMArgumentSet.java SysPropertySet.java

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:15:17 Modified:launcher/src/java LauncherBootstrap.java launcher/src/java/org/apache/commons/launcher ChildMain.java ExitOnErrorThreadGroup.java LaunchCommand.java LaunchFilter.java LaunchTask.java

Bug report for Commons [2003/11/30]

2003-11-30 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

cvs commit: jakarta-commons/launcher project.properties checkstyle.xml project.xml .cvsignore build-maven.xml

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:17:02 Modified:launcher project.xml .cvsignore Added: launcher project.properties checkstyle.xml Removed: launcher build-maven.xml Log: fix maven build Revision ChangesPath 1.2 +50 -96jakarta-commons/launcher/project.xml

cvs commit: jakarta-commons/launcher/src/java/org/apache/commons/launcher/types ArgumentSet.java ConditionalArgument.java ConditionalVariable.java JVMArgumentSet.java SysPropertySet.java

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:21:29 Modified:launcher/src/java LauncherBootstrap.java launcher/src/java/org/apache/commons/launcher Launcher.java launcher/src/java/org/apache/commons/launcher/types ArgumentSet.java ConditionalArgument.java

cvs commit: jakarta-commons/launcher/xdocs navigation.xml downloads.xml index.xml

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:24:47 Modified:launcher/xdocs index.xml Added: launcher/xdocs navigation.xml downloads.xml Log: add minimal website Revision ChangesPath 1.2 +43 -13jakarta-commons/launcher/xdocs/index.xml Index: index.xml

cvs commit: jakarta-commons-sandbox/scaffold project.xml

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:32:51 Modified:scaffold project.xml Log: add depency on commons-logging Revision ChangesPath 1.2 +4 -1 jakarta-commons-sandbox/scaffold/project.xml Index: project.xml

cvs commit: jakarta-commons/xdocs/stylesheets/menus components.xml sandbox.xml

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:58:16 Modified:xdocs/stylesheets/menus components.xml sandbox.xml Log: add launcher scaffold sites Revision ChangesPath 1.6 +1 -0 jakarta-commons/xdocs/stylesheets/menus/components.xml Index: components.xml

cvs commit: jakarta-commons navigation.vm

2003-11-30 Thread dirkv
dirkv 2003/11/30 07:58:25 Modified:.navigation.vm Log: add launcher scaffold sites Revision ChangesPath 1.4 +1 -1 jakarta-commons/navigation.vm Index: navigation.vm === RCS

cvs commit: jakarta-commons incl_nav.xml

2003-11-30 Thread dirkv
dirkv 2003/11/30 08:05:01 Modified:.incl_nav.xml Log: add launcher scaffold sites Revision ChangesPath 1.9 +43 -82jakarta-commons/incl_nav.xml Index: incl_nav.xml === RCS file:

cvs commit: jakarta-commons/docs/releases index.html mirror.html prepare.html release.html

2003-11-30 Thread dirkv
dirkv 2003/11/30 08:15:41 Modified:docs beanutils.html charter.html collections.html commons.html components.html contributors.html dbcp.html digester.html directory.html discovery.html el.html index.html

DO NOT REPLY [Bug 25058] - Bug in StringUtils.chomp

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

DO NOT REPLY [Bug 25096] New: - PoolableConnectionFactory synchronized methods

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

DO NOT REPLY [Bug 25096] - PoolableConnectionFactory synchronized methods

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

cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp PoolableConnectionFactory.java

2003-11-30 Thread dirkv
dirkv 2003/11/30 10:40:46 Modified:dbcp/src/java/org/apache/commons/dbcp PoolableConnectionFactory.java Log: Bugzilla Bug 25096: PoolableConnectionFactory synchronized methods - remove synchronized from validate methods (patch from Brad Johnson)

DO NOT REPLY [Bug 25096] - PoolableConnectionFactory synchronized methods

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

DO NOT REPLY [Bug 25001] - PATCH: Oracle 9i and default isolation settings

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

Re: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
I see two factors here, one, instances in the the standard Java API, two, mapping of natural language to Java convention. In the first case, we can say there is some incoherence, since you find both substring and subList. Thus, the second one, is perhaps a better guide to making a decision

[collections] MapUtils.getXxx() return types

2003-11-30 Thread Ash ..
I am curious to know why MapUtils does not have getters that return primitive types. Perhaps there was a discussion on whether it was needed or not, you could point me to such discussion that took place in the past when this class was conceived. In any case, I think that getters that return

[lang] ArrayUtils.subarray() array types

2003-11-30 Thread Ash ..
One point I spotted is that the returned array is always an Object[], no matter what the input array type is. This is different to toArray(Object[]) on a List. I'm not sure that its right either. Stephen Do you suggest we implement checking the type of the input array and creating the subarray

Re: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread __matthewHawthorne
It seems to depend on whether we see the word array as a proper noun. java.lang.String has both substring and subSequence. There seem to be inconsistencies everywhere. I vote for subArray, since I would define a classname as being a proper noun. Stephen Colebourne wrote: I changed this

Re: [PATCH] LocaleBeanUtils.populate() doesn't accept localized input map

2003-11-30 Thread robert burrell donkin
hi i'll take a look at this sometime soon. is there any chance that you could provide a unit test that demonstrates the issue? - robert On 26 Nov 2003, at 21:14, [EMAIL PROTECTED] wrote: A patch was attached to this bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24941

RE: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
It seems to depend on whether we see the word array as a proper noun. Could you please elaborate what you meant by that. In my understanding, class names rather represent common nouns, and you can say, specific instances of the class represent proper nouns: Person john = new Person(); Or,

Re: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread __matthewHawthorne
It seems to depend on whether we see the word array as a proper noun. Could you please elaborate what you meant by that. In my understanding, class names rather represent common nouns, and you can say, specific instances of the class represent proper nouns: Person john = new Person(); Or, am

RE: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
I think I see the point you are making. If I get you right, it's one of the following: get the sub of the array, or, get the subarray My original idea was to introduce the concept that every array innately has subarrays, and thus the emphasis that an array is being subbed I didnt find necessary.

cvs commit: jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/test ProviderTestSuite.java

2003-11-30 Thread ggregory
ggregory2003/11/30 17:02:08 Modified:vfs/src/test/org/apache/commons/vfs/test ProviderTestSuite.java Log: Provide an assertion failure message instead of none. Revision ChangesPath 1.14 +3 -2

[DbUtils]Making the BeanHandler... Even Smarter

2003-11-30 Thread Corby Page
I am finding that my DAOs that use the BeanHandler are ending up with a lot of code like this: String queryName = select column1 as beanProp1, column2 as beanProp2, column3 as beanProp3 This gets to be very redundant and clunky for large rows, and it happens because DbUtils assumes that the

cvs commit: jakarta-commons-sandbox/naming/factory/src/test/org/apache/commons/naming/config XmlConfiguratorTest.java

2003-11-30 Thread brett
brett 2003/11/30 18:02:45 Modified:naming/factory/src/java/org/apache/commons/naming/config Config.java XmlConfigurator.java naming/factory/src/test test-jndi.xml naming/factory/src/test/org/apache/commons/naming/config

RE: [DbUtils]Making the BeanHandler... Even Smarter

2003-11-30 Thread Steven Caswell
I'm interested in the idea and would like to see the patch and test case. One slight clarification to proposal 2, I think I'd prefer to overload the existing method rather than change it, for backward compatibility. Steven Caswell Sun Certified Java Programmer [EMAIL PROTECTED] a.k.a Mungo

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

2003-11-30 Thread rwaldhoff
rwaldhoff2003/11/30 21:16:24 Modified:functor/src/test/org/apache/commons/functor/core/comparator TestIsNotEquivalent.java TestIsLessThan.java TestIsLessThanOrEqual.java

cvs commit: jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata - New directory

2003-11-30 Thread rwaldhoff
rwaldhoff2003/11/30 21:28:42 jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata/one - New directory

2003-11-30 Thread rwaldhoff
rwaldhoff2003/11/30 21:28:42 jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata/one - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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

2003-11-30 Thread rwaldhoff
rwaldhoff2003/11/30 21:32:43 Modified:functor/src/test/org/apache/commons/functor/example/kata/one TestAll.java Log: enable tests Revision ChangesPath 1.2 +3 -5

Re: [DbUtils]Making the BeanHandler... Even Smarter

2003-11-30 Thread Juozas Baliuka
You can do it with strings too: private static String FIELD_LIST = column1 as beanProp1, column2 as beanProp2, column3 as beanProp3 ; String sql1 = SELECT + FIELD_LIST + FROM ... ; I use this way: SELECT ${FIELD_LIST} FROM ... ; I think it can be better to use this map for any dynamic