You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2018/11/12 18:04:43 UTC

Re: [1/2] ant git commit: Simplify tests, use Charset

On 2018-11-11, <gi...@apache.org> wrote:

>+     * Construct a <code>ReaderInputStream</code>
>+     * for the specified <code>Reader</code>,
>+     * with the specified encoding.
>+     *
>+     * @param reader     non-null <code>Reader</code>.
>+     * @param charset    non-null <code>Charset</code> charset.
>+     */
>+    public ReaderInputStream(Reader reader, Charset charset) {

please add a @since marker.

>>        if (charset == null) {
>>            throw new IllegalArgumentException("encoding must not be null");

s/encoding/charset/

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org