< prev index next >
src/java.desktop/share/classes/com/sun/media/sound/SunFileWriter.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -43,16 +43,16 @@
protected static final int bufferSize = 16384;
// buffer size for temporary input streams
protected static final int bisBufferSize = 4096;
- final AudioFileFormat.Type types[];
+ final AudioFileFormat.Type[] types;
/**
* Constructs a new SunParser object.
*/
- SunFileWriter(AudioFileFormat.Type types[]) {
+ SunFileWriter(AudioFileFormat.Type[] types) {
this.types = types;
}
// METHODS TO IMPLEMENT AudioFileWriter
@@ -162,16 +162,16 @@
public int read() throws IOException {
return in.read();
}
@Override
- public int read(byte b[]) throws IOException {
+ public int read(byte[] b) throws IOException {
return in.read(b);
}
@Override
- public int read(byte b[], int off, int len) throws IOException {
+ public int read(byte[] b, int off, int len) throws IOException {
return in.read(b, off, len);
}
@Override
public long skip(long n) throws IOException {
< prev index next >