src/java.base/share/classes/java/io/InputStreamReader.java
changeset 58288 48e480e56aad
parent 58242 94bb65cb37d3
child 58679 9c3209ff7550
equal deleted inserted replaced
58287:a7f16447085e 58288:48e480e56aad
   139      * otherwise the encoding's canonical name is returned.
   139      * otherwise the encoding's canonical name is returned.
   140      *
   140      *
   141      * <p> If this instance was created with the {@link
   141      * <p> If this instance was created with the {@link
   142      * #InputStreamReader(InputStream, String)} constructor then the returned
   142      * #InputStreamReader(InputStream, String)} constructor then the returned
   143      * name, being unique for the encoding, may differ from the name passed to
   143      * name, being unique for the encoding, may differ from the name passed to
   144      * the constructor. This method will return <code>null</code> if the
   144      * the constructor. This method will return {@code null} if the
   145      * stream has been closed.
   145      * stream has been closed.
   146      * </p>
   146      * </p>
   147      * @return The historical name of this encoding, or
   147      * @return The historical name of this encoding, or
   148      *         <code>null</code> if the stream has been closed
   148      *         {@code null} if the stream has been closed
   149      *
   149      *
   150      * @see java.nio.charset.Charset
   150      * @see java.nio.charset.Charset
   151      *
   151      *
   152      * @revised 1.4
   152      * @revised 1.4
   153      * @spec JSR-51
   153      * @spec JSR-51