protected final void setParentNode ( final DiffNode parentNode ) { if ( this . parentNode != null && this . parentNode != parentNode ) { throw new IllegalStateException ( "The parent of a node cannot be changed, once it's set." ) ; } this . parentNode = parentNode ; }
Sets the parent node .