diff options
| author | Joseph Myers <jsm28@gcc.gnu.org> | 2001-10-31 00:48:17 +0000 |
|---|---|---|
| committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-10-31 00:48:17 +0000 |
| commit | 18e1f2bd67da8877099783f42634d8692bd80ec9 (patch) | |
| tree | 5308302766b87f978a067f91b79c6b91b4198025 /libjava/java/util/Vector.java | |
| parent | ffc5527fa5cbb518a4bc564b87b8376f5206787f (diff) | |
HACKING, [...]: Fix spelling errors.
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java,
java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java,
java/io/CharConversionException.java,
java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PrintWriter.java, java/io/WriteAbortedException.java,
java/io/natFileWin32.cc, java/lang/Class.h,
java/lang/natClassLoader.cc, java/lang/natObject.cc,
java/lang/Package.java, java/net/BindException.java,
java/net/ConnectException.java, java/net/ProtocolException.java,
java/net/SocketException.java,
java/net/UnknownServiceException.java,
java/security/cert/X509Certificate.java,
java/security/interfaces/DSAKey.java,
java/security/SecureRandom.java, java/security/SignedObject.java,
java/sql/DatabaseMetaData.java,
java/text/DecimalFormatSymbols.java,
java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/Calendar.java,
java/util/Collections.java, java/util/GregorianCalendar.java,
java/util/HashMap.java, java/util/List.java,
java/util/Properties.java, java/util/Timer.java,
java/util/Vector.java, java/util/WeakHashMap.java,
javax/naming/NamingException.java,
testsuite/libjava.lang/Thread_Wait.java,
org/xml/sax/helpers/DefaultHandler.java,
org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java,
ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix
spelling errors.
* configure: Regenerate.
From-SVN: r46665
Diffstat (limited to 'libjava/java/util/Vector.java')
| -rw-r--r-- | libjava/java/util/Vector.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/util/Vector.java b/libjava/java/util/Vector.java index 16785907664..cef84e51e72 100644 --- a/libjava/java/util/Vector.java +++ b/libjava/java/util/Vector.java @@ -32,7 +32,7 @@ import java.io.Serializable; /** * the <b>Vector</b> classes implements growable arrays of Objects. * You can access elements in a Vector with an index, just as you - * can in a built in array, but Vectors can grow and shrink to accomodate + * can in a built in array, but Vectors can grow and shrink to accommodate * more or fewer objects. * * Vectors try to mantain efficiency in growing by having a @@ -244,12 +244,12 @@ public class Vector extends AbstractList /** * Searches the vector starting at <b>index</b> for object <b>elem</b> - * and returns the index of the first occurence of this Object. If + * and returns the index of the first occurrence of this Object. If * the object is not found, -1 is returned * * @param e The Object to search for * @param index Start searching at this index - * @returns The index of the first occurence of <b>elem</b>, or -1 + * @returns The index of the first occurrence of <b>elem</b>, or -1 * if it is not found */ public synchronized int indexOf(Object e, int index) @@ -263,11 +263,11 @@ public class Vector extends AbstractList } /** - * Returns the first occurence of <b>elem</b> in the Vector, or -1 if + * Returns the first occurrence of <b>elem</b> in the Vector, or -1 if * <b>elem</b> is not found. * * @param elem The object to search for - * @returns The index of the first occurence of <b>elem</b> or -1 if + * @returns The index of the first occurrence of <b>elem</b> or -1 if * not found */ public int indexOf(Object elem) @@ -287,7 +287,7 @@ public class Vector extends AbstractList } /** - * Returns the index of the first occurence of <b>elem</b>, when searching + * Returns the index of the first occurrence of <b>elem</b>, when searching * backwards from <b>index</b>. If the object does not occur in this Vector, * -1 is returned. * @@ -465,7 +465,7 @@ public class Vector extends AbstractList } /** - * Removes the first occurence of the given object from the Vector. + * Removes the first occurrence of the given object from the Vector. * If such a remove was performed (the object was found), true is returned. * If there was no such object, false is returned. * |
