From be06f47bc163661477f50bf46e103314f1c24498 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 16 Nov 2004 11:30:14 +0000 Subject: BufferedReader.java, [...]: Fixed javadocs all over. 2004-11-16 Michael Koch * java/io/BufferedReader.java, java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/FileWriter.java, java/io/OutputStreamWriter.java, java/io/PipedInputStream.java, java/io/PipedOutputStream.java, java/io/PipedReader.java, java/io/PipedWriter.java, java/io/PrintStream.java, java/io/PushbackInputStream.java, java/io/RandomAccessFile.java, java/io/Reader.java, java/io/StreamTokenizer.java, java/io/StringReader.java, java/net/NetworkInterface.java, java/net/URLClassLoader.java, java/nio/ByteOrder.java, java/nio/channels/Channel.java: Fixed javadocs all over. From-SVN: r90727 --- libjava/java/io/PipedOutputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libjava/java/io/PipedOutputStream.java') diff --git a/libjava/java/io/PipedOutputStream.java b/libjava/java/io/PipedOutputStream.java index 09d8db7..a652356 100644 --- a/libjava/java/io/PipedOutputStream.java +++ b/libjava/java/io/PipedOutputStream.java @@ -129,21 +129,21 @@ public class PipedOutputStream extends OutputStream * PipedInputStream to which this object is connected has * a buffer that cannot hold all of the bytes to be written. * - * @param buf The array containing bytes to write to the stream. + * @param buffer The array containing bytes to write to the stream. * @param offset The index into the array to start writing bytes from. * @param len The number of bytes to write. * * @exception IOException If the stream has not been connected or has * been closed. */ - public void write(byte[] b, int off, int len) throws IOException + public void write(byte[] buffer, int offset, int len) throws IOException { if (sink == null) throw new IOException ("Not connected"); if (closed) throw new IOException ("Pipe closed"); - sink.receive (b, off, len); + sink.receive(buffer, offset, len); } /** -- cgit v1.1