< prev index next >

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

Print this page

        

@@ -205,11 +205,11 @@
      *          or {@code off + len} is negative or greater than the length
      *          of the given array
      *
      * @throws  IOException  If an I/O error occurs
      */
-    public void write(char cbuf[], int off, int len) throws IOException {
+    public void write(char[] cbuf, int off, int len) throws IOException {
         se.write(cbuf, off, len);
     }
 
     /**
      * Writes a portion of a string.
< prev index next >