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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Stefan Bodewig
On 2018-11-11, <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]