private String uniquify(String label){
  return label.replaceAll("\\s+","");
}

private String uniquify ( String label ) { return label . replaceAll ( "\\s+" , "" ) ; }
this just removes all whitespace .
