drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java
private void visitNode(final Object node) {
        Object realNode = node;
        if ( node instanceof ObjectHashMap.ObjectEntry ) {
            ObjectHashMap.ObjectEntry entry = (ObjectHashMap.ObjectEntry) node;
            realNode = entry.getValue();
        }
        visit( realNode );
    }
private void visitNode(final Object node) {
        Object realNode = node;
        if ( node instanceof ObjectHashMap.ObjectEntry ) {
            ObjectHashMap.ObjectEntry entry = (ObjectHashMap.ObjectEntry) node;
            realNode = entry.getValue();
        }
        visit( realNode );
    }
private void visitNode ( final Object node ) { Object realNode = node ; if ( node instanceof ObjectHashMap . ObjectEntry ) { ObjectHashMap . ObjectEntry entry = ( ObjectHashMap . ObjectEntry ) node ; realNode = entry . getValue ( ) ; } visit ( realNode ) ; }
Helper method to ensure nodes are not visited more than once.
Helper method to ensure nodes are not visited more than once .