commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30655] - [configuration] HierarchicalConfigurationConverter has problems with attributes
Date Sat, 21 Aug 2004 14:46:29 GMT
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=30655>.
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=30655

[configuration] HierarchicalConfigurationConverter has problems with attributes





------- Additional Comments From oliver.heger@t-online.de  2004-08-21 14:46 -------
I think I found the reason why the lines you pointed out are never executed:
They are simply unneccessary!

The original problem was caused by property keys that are a sub string of the
last key processed by the loop (starting at line 63). For such keys
openElements() would return null. But actually if such a key appears, it is
already contained in the keySet and then the continue statement gets executed.
So openElements() is no more called.

I attached a patch that removes the affected lines. Clover is a nice tool, I
didn't see this earlier.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message