< prev index next >

src/java.base/share/classes/java/io/InputStreamReader.java

Print this page

        

@@ -179,11 +179,11 @@
      *             stream has been reached
      *
      * @exception  IOException  If an I/O error occurs
      * @exception  IndexOutOfBoundsException {@inheritDoc}
      */
-    public int read(char cbuf[], int offset, int length) throws IOException {
+    public int read(char[] cbuf, int offset, int length) throws IOException {
         return sd.read(cbuf, offset, length);
     }
 
     /**
      * Tells whether this stream is ready to be read.  An InputStreamReader is
< prev index next >