< prev index next >

src/java.base/share/classes/javax/crypto/CipherOutputStream.java

Print this page

        

@@ -144,11 +144,11 @@
      * @param      b   the data.
      * @exception  NullPointerException if <code>b</code> is null.
      * @exception  IOException  if an I/O error occurs.
      * @see        javax.crypto.CipherOutputStream#write(byte[], int, int)
      */
-    public void write(byte b[]) throws IOException {
+    public void write(byte[] b) throws IOException {
         write(b, 0, b.length);
     }
 
     /**
      * Writes <code>len</code> bytes from the specified byte array

@@ -157,11 +157,11 @@
      * @param      b     the data.
      * @param      off   the start offset in the data.
      * @param      len   the number of bytes to write.
      * @exception  IOException  if an I/O error occurs.
      */
-    public void write(byte b[], int off, int len) throws IOException {
+    public void write(byte[] b, int off, int len) throws IOException {
         obuffer = cipher.update(b, off, len);
         if (obuffer != null) {
             output.write(obuffer);
             obuffer = null;
         }
< prev index next >