commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Duncan <>
Subject [Configuration] - List of Size 1
Date Thu, 27 Jan 2005 14:29:01 GMT
I'm using the hierarchicalXml configuration.

I have an element that will appear in my congifuration one or more
times.  If there are two or more, config.getList() returns the list as
I expect.  However, if there's only of these elements, then I get an
empty list.

Is there a way to fix this/get around this?  If not, what's the best
practice to deal with this?  Check for size 0 and do a simple retrieve

Stephen Duncan Jr

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message