From 2942f53359f2b79a4611578af562ed73933cb9df Mon Sep 17 00:00:00 2001 From: "igor%mir2.org" Date: Thu, 20 Dec 2001 22:05:42 +0000 Subject: [PATCH] Use Vector.elementAt instead of Vector.getfor jdk 1.1 complience --- js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java index 2b5d06a3197..6913e70ce8f 100644 --- a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java +++ b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java @@ -103,7 +103,7 @@ public class Main { ScriptableObject.DONTENUM); for (int i=0; i < fileList.size(); i++) { - processSource(cx, (String) fileList.get(i)); + processSource(cx, (String) fileList.elementAt(i)); } cx.exit();