public static String removeSpaces(final String value){
  validate(value,NULL_STRING_PREDICATE,NULL_STRING_MSG_SUPPLIER);
  return value.replaceAll("\\s","");
}

public static String removeSpaces ( final String value ) { validate ( value , NULL_STRING_PREDICATE , NULL_STRING_MSG_SUPPLIER ) ; return value . replaceAll ( "\\s" , "" ) ; }
remove all spaces and replace for value .
