diff --git a/classpath/java/util/Vector.java b/classpath/java/util/Vector.java index acba5f7445..21bd896b7c 100644 --- a/classpath/java/util/Vector.java +++ b/classpath/java/util/Vector.java @@ -61,8 +61,8 @@ public class Vector implements List { return list.set(index, value); } - public T setElementAt(T value, int index) { - return set(index, value); + public void setElementAt(T value, int index) { + set(index, value); } public T elementAt(int index) {