mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
This commit is contained in:
parent
e8f1219d6f
commit
30b0f820ce
54 changed files with 140 additions and 140 deletions
|
@ -71,7 +71,7 @@ public interface DataOutput {
|
|||
* @param b the data.
|
||||
* @throws IOException if an I/O error occurs.
|
||||
*/
|
||||
void write(byte b[]) throws IOException;
|
||||
void write(byte[] b) throws IOException;
|
||||
|
||||
/**
|
||||
* Writes {@code len} bytes from array
|
||||
|
@ -93,7 +93,7 @@ public interface DataOutput {
|
|||
* @param len the number of bytes to write.
|
||||
* @throws 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 this output stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue