code: public static String removeSpaces(final String value) {
          validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER);
          return value.replaceAll("\\s", "");
      }
docs: Remove all spaces and replace for value.
  
  @param value The input String
  @return String without spaces