aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/DataOutput.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-04-20 22:47:43 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-04-20 22:47:43 +0000
commit3bd417a700334135c711990366ffef1e2fc8630b (patch)
tree8d3681222817096386ac878534861cd66c371acf /libjava/java/io/DataOutput.java
parentef963bc8a17d341114bde2cbc082830f92455f0f (diff)
downloadgcc-3bd417a700334135c711990366ffef1e2fc8630b.zip
gcc-3bd417a700334135c711990366ffef1e2fc8630b.tar.gz
gcc-3bd417a700334135c711990366ffef1e2fc8630b.tar.bz2
BufferedReader.java, [...]: Imports from Classpath.
* java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/DataInput.java, java/io/DataOutput.java: Imports from Classpath. From-SVN: r65868
Diffstat (limited to 'libjava/java/io/DataOutput.java')
-rw-r--r--libjava/java/io/DataOutput.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/io/DataOutput.java b/libjava/java/io/DataOutput.java
index 462889d..e07eb62 100644
--- a/libjava/java/io/DataOutput.java
+++ b/libjava/java/io/DataOutput.java
@@ -111,7 +111,7 @@ public interface DataOutput
void writeChar(int value) throws IOException;
/**
- * This method writes a Java char value to an output stream. The
+ * This method writes a Java short value to an output stream. The
* char to be written will be in the lowest 16 bits of the <code>int</code>
* value passed. These bytes will be written "big endian". That is,
* with the high byte written first in the following manner:
@@ -236,7 +236,7 @@ public interface DataOutput
void writeBytes(String value) throws IOException;
/**
- * This method writes all the bytes of a <code>String</code> to an
+ * This method writes all the characters of a <code>String</code> to an
* output stream as an array of <code>char</code>'s. Each character
* is written using the method specified in the <code>writeChar</code>
* method.