From 18e1f2bd67da8877099783f42634d8692bd80ec9 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 31 Oct 2001 00:48:17 +0000 Subject: 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 --- libjava/java/util/Vector.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libjava/java/util/Vector.java') 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 Vector 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 index for object elem - * 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 elem, or -1 + * @returns The index of the first occurrence of elem, 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 elem in the Vector, or -1 if + * Returns the first occurrence of elem in the Vector, or -1 if * elem is not found. * * @param elem The object to search for - * @returns The index of the first occurence of elem or -1 if + * @returns The index of the first occurrence of elem 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 elem, when searching + * Returns the index of the first occurrence of elem, when searching * backwards from index. 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. * -- cgit v1.2.3