ebourg 2004/06/22 03:07:57 Modified: configuration/xdocs howto_xml.xml Log: Changed the note stating getString could not be used on List properties Revision Changes Path 1.3 +2 -2 jakarta-commons/configuration/xdocs/howto_xml.xml Index: howto_xml.xml =================================================================== RCS file: /home/cvs/jakarta-commons/configuration/xdocs/howto_xml.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- howto_xml.xml 28 Mar 2004 19:58:30 -0000 1.2 +++ howto_xml.xml 22 Jun 2004 10:07:57 -0000 1.3 @@ -145,9 +145,9 @@ method of <code>Configuration</code>. If a property is known to have multiple values (as is the table name property in this example), <code>getList()</code> allows to retrieve all values at once. - <b>Note:</b> it is NOT legal to call <code>getString()</code> + <b>Note:</b> it is legal to call <code>getString()</code> or one of the other getter methods on a property with multiple - values; as the entire list is attempted to be returned. + values; it returns the first element of the list. </p> </subsection> <subsection name="Accessing structured properties">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]