src/main/java/org/jboss/pressgang/ccms/model/contentspec/CSNode.java
@Transient
    public void setNextAndClean(CSNode next) {
        setNextInternal(next);
        if (next != null) {
            next.setPreviousInternal(this);
        }
    }
@Transient
    public void setNextAndClean(CSNode next) {
        setNextInternal(next);
        if (next != null) {
            next.setPreviousInternal(this);
        }
    }
@ Transient public void setNextAndClean ( CSNode next ) { setNextInternal ( next ) ; if ( next != null ) { next . setPreviousInternal ( this ) ; } }
Sets the Next Node and cleans up any old references.

@param next The next node.
Sets the Next Node and cleans up any old references .