diff --git a/classpath/java/util/Vector.java b/classpath/java/util/Vector.java index cf2d30f58b..6f3dfb1973 100644 --- a/classpath/java/util/Vector.java +++ b/classpath/java/util/Vector.java @@ -58,8 +58,8 @@ public class Vector implements List { return list.toArray(a); } - public T removeElementAt(int index) { - return remove(index); + public void removeElementAt(int index) { + remove(index); } public synchronized boolean remove(T element) {