summaryrefslogtreecommitdiff
path: root/java/io/DataInput.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-04-08 15:04:36 +0000
committerMichael Koch <konqueror@gmx.de>2004-04-08 15:04:36 +0000
commitc8feafcc3ce310e30e026ac9f4dec0d7d98da2a6 (patch)
tree6d33372c29d35337b9f45cad93e4514ee71816cf /java/io/DataInput.java
parent8d4b62be28f440cdf0dc4dcda50963b93c9b8774 (diff)
downloadclasspath-c8feafcc3ce310e30e026ac9f4dec0d7d98da2a6.tar.gz
2004-04-08 Michael Koch <konqueror@gmx.de>
* java/io/ByteArrayInputStream.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/InputStream.java, java/io/InputStreamReader.java, java/io/ObjectStreamClass.java, java/io/ObjectStreamField.java, java/io/PushbackReader.java, java/io/StringWriter.java, java/io/Writer.java: Fixed javadocs and style all over.
Diffstat (limited to 'java/io/DataInput.java')
-rw-r--r--java/io/DataInput.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/io/DataInput.java b/java/io/DataInput.java
index 2d9200661..b6e725402 100644
--- a/java/io/DataInput.java
+++ b/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 <code>char</code> like so:
* <p>
- * <code>(char)(((byte1 & 0x1F) << 6) + (byte2 & 0x3F))</code>
+ * <code>(char)(((byte1 &amp; 0x1F) &lt;&lt; 6) + (byte2 &amp; 0x3F))</code>
* <p>
* 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,7 +375,7 @@ public interface DataInput
* then they would be converted to a Java <code>char</code> like so:
*
* <code>
- * (char)(((byte1 & 0x0F) << 12) + ((byte2 & 0x3F) + (byte3 & 0x3F))
+ * (char)(((byte1 &amp; 0x0F) &lt;&lt; 12) + ((byte2 &amp; 0x3F) + (byte3 &amp; 0x3F))
* </code>
*
* Note that all characters are encoded in the method that requires the
@@ -387,7 +387,7 @@ public interface DataInput
* This method can read data that was written by an object implementing the
* <code>writeUTF()</code> method in <code>DataOutput</code>.
*
- * @returns The <code>String</code> read
+ * @return The <code>String</code> read
*
* @exception EOFException If end of file is reached before reading the
* String