DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34103>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34103





------- Additional Comments From [EMAIL PROTECTED]  2005-03-21 22:10 -------
Ittay,

I aggree with your points about the behavior of getter methods when the
requested property is missing. Then, if the "exception mode" is enabled, always
an exception should be thrown.

But I can't follow your points about handling of list and single properties. I
was always fine with the feature that getString() would return the first element
of a list. Your idea with supporting convertes from bean utils is interesting,
but I would add it to DataConfiguration rather than to the core Configuration
classes (and I am not sure if this feature is really needed).

My impression is that that a typical user of the Configuration API has at least
a certain idea about the properties defined in the configuration files. More
over in most cases the configuration files will be written in a way to match the
needs of the application. So it seems reasonable that the Configuration API
supports a set of default data types the properties can be converted to, but I
see no need to implement a fully featured data conversion framework.

So I guess if we implemented some of the points mentioned in the discussion
above, e.g. concatenation operations for lists, throwing exceptions but only in
a "strict" mode, we might confuse most of the users - I surely would be confused
;-) So, I say KISS - keep it stupid and simple!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to