From d614d646f4cfd00edd308bbe987332271125e584 Mon Sep 17 00:00:00 2001 From: mkoch Date: Tue, 20 Apr 2004 11:37:41 +0000 Subject: 2004-04-20 Michael Koch * java/io/BufferedWriter.java, java/io/ByteArrayInputStream.java, java/io/CharArrayWriter.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/File.java, java/io/FilterInputStream.java, java/io/InputStream.java, java/io/InputStreamReader.java, java/io/ObjectInputStream.java, java/io/ObjectStreamClass.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PushbackInputStream.java, java/io/PushbackReader.java, java/io/RandomAccessFile.java, java/io/SerializablePermission.java, java/io/StreamTokenizer.java, java/io/StringWriter.java, java/io/WriteAbortedException.java, java/io/Writer.java: Fixed javadocs all over, rename arguments to match javadocs, fixed coding style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80897 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/io/DataInput.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libjava/java/io/DataInput.java') diff --git a/libjava/java/io/DataInput.java b/libjava/java/io/DataInput.java index 2d92006618a..52cd246110d 100644 --- a/libjava/java/io/DataInput.java +++ b/libjava/java/io/DataInput.java @@ -360,7 +360,7 @@ public interface DataInput * patterns which indicate a two byte character encoding, then they would be * converted to a Java char like so: *

- * (char)(((byte1 & 0x1F) << 6) + (byte2 & 0x3F)) + * (char)(((byte1 & 0x1F) << 6) + (byte2 & 0x3F)) *

* If the first byte has a 1110 as its high order bits, then the * character consists of three bytes. The bits that make up the character @@ -375,19 +375,19 @@ public interface DataInput * then they would be converted to a Java char like so: * * - * (char)(((byte1 & 0x0F) << 12) + ((byte2 & 0x3F) + (byte3 & 0x3F)) + * (char)(((byte1 & 0x0F) << 12) + ((byte2 & 0x3F) + (byte3 & 0x3F)) * * * Note that all characters are encoded in the method that requires the * fewest number of bytes with the exception of the character with the - * value of \u0000 which is encoded as two bytes. + * value of \<llll>u0000 which is encoded as two bytes. * This is a modification of the UTF standard used to prevent C language * style NUL values from appearing in the byte stream. *

* This method can read data that was written by an object implementing the * writeUTF() method in DataOutput. * - * @returns The String read + * @return The String read * * @exception EOFException If end of file is reached before reading the * String -- cgit v1.2.3