summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog7
-rw-r--r--libjava/java/lang/StringBuffer.java4
-rw-r--r--libjava/java/net/URLConnection.java2
3 files changed, 9 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 40eee95a958..5a39de18f88 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-07 Anthony Green <green@redhat.com>
+
+ * java/net/URLConnection.java (setDoOutput): URLConnection's may
+ be used for both input and output, so don't clear doInput.
+
+ * java/lang/StringBuffer.java: Fix comments.
+
2001-01-06 Anthony Green <green@redhat.com>
* java/beans/PropertyDescriptor.java: Fix comment.
diff --git a/libjava/java/lang/StringBuffer.java b/libjava/java/lang/StringBuffer.java
index 0455ca66c24..16c3863630e 100644
--- a/libjava/java/lang/StringBuffer.java
+++ b/libjava/java/lang/StringBuffer.java
@@ -299,7 +299,7 @@ public final class StringBuffer implements Serializable
* @exception NullPointerException if dst is null.
* @exception IndexOutOfBoundsException if any source or target
* indices are out of range.
- * @see java.lang.System#arrayCopy(java.lang.Object,int,java.lang.Object,int,int)
+ * @see java.lang.System#arraycopy(java.lang.Object,int,java.lang.Object,int,int)
*/
public synchronized void getChars (int srcOffset, int srcEnd,
char[] dst, int dstOffset)
@@ -494,7 +494,7 @@ public final class StringBuffer implements Serializable
* <em>capacity</em> of the <code>StringBuffer</code>.
* @return the length of this <code>StringBuffer</code>.
* @see #capacity()
- * @see #setLength()
+ * @see #setLength(int)
*/
public int length ()
{
diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java
index 4ddc10c53d3..8f8cf5ed575 100644
--- a/libjava/java/net/URLConnection.java
+++ b/libjava/java/net/URLConnection.java
@@ -204,8 +204,6 @@ public abstract class URLConnection
throw new IllegalAccessError("Already connected");
doOutput = dooutput;
- if (doOutput)
- doInput = false;
}
public boolean getDoOutput()
OpenPOWER on IntegriCloud