private void informUponSimilarName(final StringBuffer messageBuffer,final String name,final String candidate){
  if (name.equals(candidate)) {
    return;
  }
  if (name.regionMatches(true,0,candidate,0,PKG_LEN + 5)) {
    messageBuffer.append(" Did you mean '");
    messageBuffer.append(candidate);
    messageBuffer.append("'?");
  }
}

private void informUponSimilarName ( final StringBuffer messageBuffer , final String name , final String candidate ) { if ( name . equals ( candidate ) ) { return ; } if ( name . regionMatches ( true , 0 , candidate , 0 , PKG_LEN + 5 ) ) { messageBuffer . append ( " Did you mean '" ) ; messageBuffer . append ( candidate ) ; messageBuffer . append ( "'?" ) ; } }
appends message if the given name is similar to the candidate .
