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
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
===
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
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
+---+
| Bugzilla Bug ID |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned
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
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
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
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
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
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
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:
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 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 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 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.
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 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 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.
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
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
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
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
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
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,
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
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.
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
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
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
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
rwaldhoff2003/11/30 21:16:24
Modified:functor/src/test/org/apache/commons/functor/core/comparator
TestIsNotEquivalent.java TestIsLessThan.java
TestIsLessThanOrEqual.java
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]
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
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
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
36 matches
Mail list logo