code: public String removeWhitespace(String value) {
          String result = null;
          if (value != null) {
              result = replaceAllInWith("\\s+", value, "");
          }
          return result;
      }
docs: Removes all (sequences of) whitespace.
  @param value value to clean up.
  @return value without whitespace.