summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-07-26 06:48:46 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-07-26 06:48:46 +0000
commitf994ce9fc088adaee9ad93d8efbaedc631da782c (patch)
treef3ff377d4e169944029b4172ed94413733bd4e4a
parent9279f29cf31e98480b3bec523ab8230f4d02f3d2 (diff)
downloadclasspath-f994ce9fc088adaee9ad93d8efbaedc631da782c.tar.gz
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
* java/util/Vector.java: Fixed API doc typo.
-rw-r--r--ChangeLog4
-rw-r--r--java/util/Vector.java6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f5c2e0a6..26030039f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
+ * java/util/Vector.java: Fixed API doc typo.
+
+2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
+
* java/awt/image/BandedSampleModel.java
(createCompatibleSampleModel): Fixed typo in loop increment, set
correct scanlineStride, and updated API docs.
diff --git a/java/util/Vector.java b/java/util/Vector.java
index 67549f0c4..eb72ae49d 100644
--- a/java/util/Vector.java
+++ b/java/util/Vector.java
@@ -1,5 +1,6 @@
/* Vector.java -- Class that provides growable arrays.
- Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005, 2006,
+ Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,6 +38,7 @@ exception statement from your version. */
package java.util;
+
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
@@ -479,7 +481,7 @@ public class Vector extends AbstractList
}
/**
- * Removes the first (the lowestindex) occurance of the given object from
+ * Removes the first (the lowest index) 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.
*