public static boolean identical(URI first,URI second){
  if ((first != null) && (second != null)) {
    return first.equals(second);
  }
  return false;
}

public static boolean identical ( URI first , URI second ) { if ( ( first != null ) && ( second != null ) ) { return first . equals ( second ) ; } return false ; }
determines if the ids are equal ( and non - null ) .
