< prev index next >
src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStream.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -85,11 +85,11 @@
*
* @exception NullPointerException if {@code b} is
* {@code null}.
* @exception IOException if an I/O error occurs.
*/
- void write(byte b[]) throws IOException;
+ void write(byte[] b) throws IOException;
/**
* Writes a sequence of bytes to the stream at the current
* position. If {@code len} is 0, nothing is written.
* The byte {@code b[off]} is written first, then the byte
@@ -112,11 +112,11 @@
* is greater than {@code b.length}.
* @exception NullPointerException if {@code b} is
* {@code null}.
* @exception IOException if an I/O error occurs.
*/
- void write(byte b[], int off, int len) throws IOException;
+ void write(byte[] b, int off, int len) throws IOException;
/**
* Writes a {@code boolean} value to the stream. If
* {@code v} is true, the value {@code (byte)1} is
* written; if {@code v} is false, the value
< prev index next >