code: @Deprecated
    public static String readAll(final InputStream inputStream) throws IOException {
      return readAll(inputStream, Charset.defaultCharset());
    }
docs: Reads all input into memory, close the steam, and return as a String. Reads
  the input in the default charset: Charset.defaultCharset().
  
  @param inputStream InputStream to read from.
  @return String contents of the stream.
  @throws IOException if there is an problem reading from the stream.
  @deprecated it is always safer to supply a charset. See
  {@link #readAll(InputStream, Charset)}.