protected void compareComment(Comment control, Comment test,
                                  DifferenceListener listener) throws DifferenceFoundException {
        if (!XMLUnit.getIgnoreComments()) {
            compareCharacterData(control, test, listener, COMMENT_VALUE);
        }
    }
protected void compareComment ( Comment control , Comment test , DifferenceListener listener ) throws DifferenceFoundException { if ( ! XMLUnit . getIgnoreComments ( ) ) { compareCharacterData ( control , test , listener , COMMENT_VALUE ) ; } }
Compare two comments
@param control
@param test
@param listener
@throws DifferenceFoundException