From 0351a03252ba852c678fade3693ba70f6a75cdf4 Mon Sep 17 00:00:00 2001 From: green Date: Sat, 6 Jan 2001 23:28:40 +0000 Subject: [PATCH] Fix comments for doclets git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38754 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 10 ++++++++++ libjava/java/beans/PropertyDescriptor.java | 4 ++-- libjava/java/io/DataInputStream.java | 4 ++-- libjava/java/io/ObjectStreamClass.java | 4 ++-- libjava/java/io/PipedInputStream.java | 4 ++-- libjava/java/io/PipedReader.java | 4 ++-- libjava/java/io/PushbackReader.java | 4 ++-- libjava/java/sql/DatabaseMetaData.java | 9 +++++++-- 8 files changed, 29 insertions(+), 14 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 1f31191d195..40eee95a958 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,13 @@ +2001-01-06 Anthony Green + + * 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. + 2001-01-06 Bryce McKinlay * java/io/PipedReader: Synchronize on "lock" instead of this. diff --git a/libjava/java/beans/PropertyDescriptor.java b/libjava/java/beans/PropertyDescriptor.java index ec1431273eb..ed5b8c28102 100644 --- a/libjava/java/beans/PropertyDescriptor.java +++ b/libjava/java/beans/PropertyDescriptor.java @@ -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 @@ public class PropertyDescriptor extends FeatureDescriptor { ** will be undefined.

** ** When a property is bound, its set method is required to fire the - ** PropertyChangeListener.propertyChange())PropertyChangeListener.propertyChange()) event ** after the value has changed. ** @param bound whether the property is bound or not. **/ diff --git a/libjava/java/io/DataInputStream.java b/libjava/java/io/DataInputStream.java index 2bcf88d9f8c..643f0993f6d 100644 --- a/libjava/java/io/DataInputStream.java +++ b/libjava/java/io/DataInputStream.java @@ -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 @@ public class DataInputStream extends FilterInputStream implements DataInput * significant byte first (i.e., "big endian") regardless of the native * host byte ordering. *

- * As an example, if byte1 and code{byte2 + * As an example, if byte1 and byte2 * represent the first and second byte read from the stream * respectively, they will be transformed to an int in * the following manner: diff --git a/libjava/java/io/ObjectStreamClass.java b/libjava/java/io/ObjectStreamClass.java index 085c72b2da3..d7306f81b74 100644 --- a/libjava/java/io/ObjectStreamClass.java +++ b/libjava/java/io/ObjectStreamClass.java @@ -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 @@ public class ObjectStreamClass implements Serializable // Returns the ObjectStreamClass that represents the // class that is the superclass of the class this - // ObjectStreamClass represents. If the superclass is + // ObjectStreamClass represents. If the superclass is // not Serializable, null is returned. ObjectStreamClass getSuper () { diff --git a/libjava/java/io/PipedInputStream.java b/libjava/java/io/PipedInputStream.java index f8de8b0077d..328a1c0c19d 100644 --- a/libjava/java/io/PipedInputStream.java +++ b/libjava/java/io/PipedInputStream.java @@ -209,7 +209,7 @@ public class PipedInputStream extends InputStream /** * This method reads bytes from the stream into a caller supplied buffer. * It starts storing bytes at position offset into the buffer and - * reads a maximum of >len bytes. Note that this method can actually + * reads a maximum of len bytes. Note that this method can actually * read fewer than len 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 @@ public class PipedInputStream extends InputStream /** * This method reads bytes from the stream into a caller supplied buffer. * It starts storing bytes at position offset into the buffer and - * reads a maximum of >len bytes. Note that this method can actually + * reads a maximum of len bytes. Note that this method can actually * read fewer than len 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 diff --git a/libjava/java/io/PipedReader.java b/libjava/java/io/PipedReader.java index af375958987..8047d55a437 100644 --- a/libjava/java/io/PipedReader.java +++ b/libjava/java/io/PipedReader.java @@ -197,7 +197,7 @@ public class PipedReader extends Reader /** * This method reads chars from the stream into a caller supplied buffer. * It starts storing chars at position offset into the buffer and - * reads a maximum of >len chars. Note that this method can actually + * reads a maximum of len chars. Note that this method can actually * read fewer than len 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 @@ public class PipedReader extends Reader /** * This method reads characters from the stream into a caller supplied buffer. * It starts storing chars at position offset into the buffer and - * reads a maximum of >len chars. Note that this method can actually + * reads a maximum of len chars. Note that this method can actually * read fewer than len 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 diff --git a/libjava/java/io/PushbackReader.java b/libjava/java/io/PushbackReader.java index be8dba47ec9..6aeda79e26f 100644 --- a/libjava/java/io/PushbackReader.java +++ b/libjava/java/io/PushbackReader.java @@ -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 @@ unread(char[] buf) throws IOException /** * This method pushed back chars from the passed in array into the pushback - * buffer. The chars from buf[offset] to buf[offset + len] + * buffer. The chars from buf[offset] to buf[offset + len] * are pushed in reverse order so that the next char read from the stream * after this operation will be buf[offset] followed by * buf[offset + 1], etc. diff --git a/libjava/java/sql/DatabaseMetaData.java b/libjava/java/sql/DatabaseMetaData.java index a643c81e9f3..92ed44e4551 100644 --- a/libjava/java/sql/DatabaseMetaData.java +++ b/libjava/java/sql/DatabaseMetaData.java @@ -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 @@ getTablePrivileges(String catalog, String schema, String table) *

    *
  1. SCOPE - The scope of the results returned. This is one of the * constants defined in this class (bestRowTemporary, - * bestRowTransaction, or bestRowSessionbestRowTransaction, or bestRowSession). *
  2. COLUMN_NAME - The name of the column. *
  3. DATA_TYPE - The SQL type of the column. This is one of the constants * defined in Types. @@ -2193,6 +2193,7 @@ getVersionColumns(String catalog, String schema, String table) *
  4. COLUMN_NAME - The name of the column. *
  5. KEY_SEQ - The sequence number of the column within the primary key. *
  6. PK_NAME - The name of the primary key, which may be null. + *
* * @param catalog The catalog to retrieve information from, or the empty string * to return entities not associated with a catalog, or null @@ -2241,6 +2242,7 @@ getPrimaryKeys(String catalog, String schema, String table) * constants defined in this table (importedKeyInitiallyDeferred, * importedKeyInitiallyImmediate, or * importedKeyNotDeferrable). + * * * @param catalog The catalog to retrieve information from, or the empty string * to return entities not associated with a catalog, or null @@ -2289,6 +2291,7 @@ getImportedKeys(String catalog, String schema, String table) * constants defined in this table (importedKeyInitiallyDeferred, * importedKeyInitiallyImmediate, or * importedKeyNotDeferrable). + * * * @param catalog The catalog to retrieve information from, or the empty string * to return entities not associated with a catalog, or null @@ -2337,6 +2340,7 @@ getExportedKeys(String catalog, String schema, String table) * constants defined in this table (importedKeyInitiallyDeferred, * importedKeyInitiallyImmediate, or * importedKeyNotDeferrable). + * * * @param primCatalog The catalog to retrieve information from, or the empty string * to return entities not associated with a catalog, or null @@ -2436,6 +2440,7 @@ getTypeInfo() throws SQLException; * in the table if the index type is tableIndexStatistic. *
  • FILTER_CONDITION - The filter condition for this index, which may be * null. + * * * @param catalog The catalog to retrieve information from, or the empty string * to return entities not associated with a catalog, or null -- 2.11.0