Hi,

I was wondering why we have the interface ChildNodeEntry?
To me it looks like its usages can be replaced with other methods
on NodeState. e.g. the following code in JsopDiff.toJson(NodeState, 
JsopBuilder):

        for (ChildNodeEntry child : nodeState.getChildNodeEntries()) {
            jsop.key(child.getName());
            toJson(child.getNodeState(), jsop);
        }

can simply be replaced with:

        for (String childName : nodeState.getChildNodeNames()) {
            jsop.key(childName);
            toJson(nodeState.getChildNode(childName), jsop);
        }

regards
 marcel

Reply via email to