Can somebody knowledgable comment on the following method? Local variable scope is not used...


private Script compileScript(Context cx, Scriptable scope, Source src) throws Exception { InputStream is = src.getInputStream(); Reader reader = new BufferedReader(new InputStreamReader(is)); // FIXME: scope or this.scope? Script compiledScript = cx.compileReader(this.scope, reader, src.getURI(), 1, null); return compiledScript; }


Thanks, Vadim




Reply via email to