[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: comment fixes
From: |
Anthony Green |
Subject: |
Patch: comment fixes |
Date: |
Sat, 6 Jan 2001 15:27:43 -0800 (PST) |
I recently discovered a handful of typos in our documentation. I'm
going to check this into the GCC cvs tree. I don't believe I have
access to the classpath archive yet. Could somebody please check this
in while I set this up with the sysadmins?
Thanks!
AG
2001-01-06 Anthony Green <address@hidden>
* java/beans/PropertyDescriptor.java: Fix comment.
* java/io/PushbackReader.java: Fix comment.
* java/io/ObjectStreamClass.java: Fix comment.
* java/io/DataInputStream.java: Fix comment.
* java/io/PipedInputStream.java: Fix comments.
* java/io/PipedReader.java: Fix comments.
* java/sql/DatabaseMetaData.java: Fix comments.
Index: java/beans/PropertyDescriptor.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/beans/PropertyDescriptor.java,v
retrieving revision 1.1
diff -c -u -r1.1 PropertyDescriptor.java
--- PropertyDescriptor.java 2000/05/19 17:55:30 1.1
+++ PropertyDescriptor.java 2001/01/06 23:12:57
@@ -1,5 +1,5 @@
/* java.beans.PropertyDescriptor
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -208,7 +208,7 @@
** will be undefined.<P>
**
** When a property is bound, its set method is required to fire the
- ** <CODE>PropertyChangeListener.propertyChange())</CODE event
+ ** <CODE>PropertyChangeListener.propertyChange())</CODE> event
** after the value has changed.
** @param bound whether the property is bound or not.
**/
Index: java/io/DataInputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/DataInputStream.java,v
retrieving revision 1.7
diff -c -u -r1.7 DataInputStream.java
--- DataInputStream.java 2000/11/28 04:50:51 1.7
+++ DataInputStream.java 2001/01/06 23:12:58
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
This file is part of libgcj.
@@ -534,7 +534,7 @@
* significant byte first (i.e., "big endian") regardless of the native
* host byte ordering.
* <p>
- * As an example, if <code>byte1</code> and code{byte2</code>
+ * As an example, if <code>byte1</code> and <code>byte2</code>
* represent the first and second byte read from the stream
* respectively, they will be transformed to an <code>int</code> in
* the following manner:
Index: java/io/ObjectStreamClass.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/ObjectStreamClass.java,v
retrieving revision 1.5
diff -c -u -r1.5 ObjectStreamClass.java
--- ObjectStreamClass.java 2000/09/08 19:37:08 1.5
+++ ObjectStreamClass.java 2001/01/06 23:12:58
@@ -1,6 +1,6 @@
/* ObjectStreamClass.java -- Class used to write class information
about serialized objects.
- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -186,7 +186,7 @@
// Returns the <code>ObjectStreamClass</code> that represents the
// class that is the superclass of the class this
- // <code>ObjectStreamClass</cdoe> represents. If the superclass is
+ // <code>ObjectStreamClass</code> represents. If the superclass is
// not Serializable, null is returned.
ObjectStreamClass getSuper ()
{
Index: java/io/PipedInputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PipedInputStream.java,v
retrieving revision 1.8
diff -c -u -r1.8 PipedInputStream.java
--- PipedInputStream.java 2001/01/05 08:23:51 1.8
+++ PipedInputStream.java 2001/01/06 23:12:58
@@ -209,7 +209,7 @@
/**
* This method reads bytes from the stream into a caller supplied buffer.
* It starts storing bytes at position <code>offset</code> into the buffer
and
- * reads a maximum of <cod>>len</code> bytes. Note that this method can
actually
+ * reads a maximum of <code>len</code> bytes. Note that this method can
actually
* read fewer than <code>len</code> bytes. The actual number of bytes read
is
* returned. A -1 is returned to indicated that no bytes can be read
* because the end of the stream was reached. If the stream is already
@@ -240,7 +240,7 @@
/**
* This method reads bytes from the stream into a caller supplied buffer.
* It starts storing bytes at position <code>offset</code> into the buffer
and
- * reads a maximum of <cod>>len</code> bytes. Note that this method can
actually
+ * reads a maximum of <code>len</code> bytes. Note that this method can
actually
* read fewer than <code>len</code> bytes. The actual number of bytes read
is
* returned. A -1 is returned to indicated that no bytes can be read
* because the end of the stream was reached - ie close() was called on the
Index: java/io/PipedReader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PipedReader.java,v
retrieving revision 1.7
diff -c -u -r1.7 PipedReader.java
--- PipedReader.java 2001/01/05 23:30:50 1.7
+++ PipedReader.java 2001/01/06 23:12:58
@@ -197,7 +197,7 @@
/**
* This method reads chars from the stream into a caller supplied buffer.
* It starts storing chars at position <code>offset</code> into the buffer
and
- * reads a maximum of <cod>>len</code> chars. Note that this method can
actually
+ * reads a maximum of <code>len</code> chars. Note that this method can
actually
* read fewer than <code>len</code> chars. The actual number of chars read
is
* returned. A -1 is returned to indicated that no chars can be read
* because the end of the stream was reached. If the stream is already
@@ -228,7 +228,7 @@
/**
* This method reads characters from the stream into a caller supplied
buffer.
* It starts storing chars at position <code>offset</code> into the buffer
and
- * reads a maximum of <cod>>len</code> chars. Note that this method can
actually
+ * reads a maximum of <code>len</code> chars. Note that this method can
actually
* read fewer than <code>len</code> chars. The actual number of chars read
is
* returned. A -1 is returned to indicated that no chars can be read
* because the end of the stream was reached - ie close() was called on the
Index: java/io/PushbackReader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PushbackReader.java,v
retrieving revision 1.5
diff -c -u -r1.5 PushbackReader.java
--- PushbackReader.java 2000/11/17 04:51:25 1.5
+++ PushbackReader.java 2001/01/06 23:12:58
@@ -1,5 +1,5 @@
/* PushbackReader.java -- An character stream that can unread chars
- Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -391,7 +391,7 @@
/**
* This method pushed back chars from the passed in array into the pushback
- * buffer. The chars from <code>buf[offset]</code> to <cdoe>buf[offset +
len]</code>
+ * buffer. The chars from <code>buf[offset]</code> to <code>buf[offset +
len]</code>
* are pushed in reverse order so that the next char read from the stream
* after this operation will be <code>buf[offset]</code> followed by
* <code>buf[offset + 1]</code>, etc.
Index: java/sql/DatabaseMetaData.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/sql/DatabaseMetaData.java,v
retrieving revision 1.2
diff -c -u -r1.2 DatabaseMetaData.java
--- DatabaseMetaData.java 2000/12/01 01:48:34 1.2
+++ DatabaseMetaData.java 2001/01/06 23:12:59
@@ -1,5 +1,5 @@
/* DatabaseMetaData.java -- Information about the database itself.
- Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -2109,7 +2109,7 @@
* <ol>
* <li>SCOPE - The scope of the results returned. This is one of the
* constants defined in this class (<code>bestRowTemporary</code>,
- * <code>bestRowTransaction</code>, or <code>bestRowSession</code).
+ * <code>bestRowTransaction</code>, or <code>bestRowSession</code>).
* <li>COLUMN_NAME - The name of the column.
* <li>DATA_TYPE - The SQL type of the column. This is one of the constants
* defined in <code>Types</code>.
@@ -2193,6 +2193,7 @@
* <li>COLUMN_NAME - The name of the column.
* <li>KEY_SEQ - The sequence number of the column within the primary key.
* <li>PK_NAME - The name of the primary key, which may be <code>null</code>.
+ * </ol>
*
* @param catalog The catalog to retrieve information from, or the empty
string
* to return entities not associated with a catalog, or <code>null</code>
@@ -2241,6 +2242,7 @@
* constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
* <code>importedKeyInitiallyImmediate</code>, or
* <code>importedKeyNotDeferrable</code>).
+ * </ol>
*
* @param catalog The catalog to retrieve information from, or the empty
string
* to return entities not associated with a catalog, or <code>null</code>
@@ -2289,6 +2291,7 @@
* constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
* <code>importedKeyInitiallyImmediate</code>, or
* <code>importedKeyNotDeferrable</code>).
+ * </ol>
*
* @param catalog The catalog to retrieve information from, or the empty
string
* to return entities not associated with a catalog, or <code>null</code>
@@ -2337,6 +2340,7 @@
* constants defined in this table (<code>importedKeyInitiallyDeferred</code>,
* <code>importedKeyInitiallyImmediate</code>, or
* <code>importedKeyNotDeferrable</code>).
+ * </ol>
*
* @param primCatalog The catalog to retrieve information from, or the empty
string
* to return entities not associated with a catalog, or <code>null</code>
@@ -2436,6 +2440,7 @@
* in the table if the index type is <code>tableIndexStatistic</code>.
* <li>FILTER_CONDITION - The filter condition for this index, which may be
* <code>null</code>.
+ * </ol>
*
* @param catalog The catalog to retrieve information from, or the empty
string
* to return entities not associated with a catalog, or <code>null</code>
- Patch: comment fixes,
Anthony Green <=