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=35858>. 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=35858 ------- Additional Comments From [EMAIL PROTECTED] 2005-07-26 17:06 ------- Here is an alternative implementation: public Configuration subset(String prefix) { Collection nodes = fetchNodeList(prefix); HierarchicalConfiguration result = new HierarchicalConfiguration(); for (Iterator it = nodes.iterator(); it.hasNext();) { Node node = (Node) it.next(); for (Iterator children = node.getChildren().iterator(); children.hasNext();) { result.getRoot().addChild((Node) children.next()); } } return result; } -- 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]