X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fibex%2Fxt%2FPrevalence.java;h=80d1f85024a94371c387c47383427a2ab4bdab74;hb=f452b10d473d1a3f6b9dc45a98fb6cc98d7f3944;hp=d5b22293bb9497debf3ad62110f86965ff2a01f4;hpb=4f3ad62d8bc5e2f2cc1f6674935bb9a088fa400a;p=org.ibex.xt-crawshaw.git diff --git a/src/java/org/ibex/xt/Prevalence.java b/src/java/org/ibex/xt/Prevalence.java index d5b2229..80d1f85 100644 --- a/src/java/org/ibex/xt/Prevalence.java +++ b/src/java/org/ibex/xt/Prevalence.java @@ -1,9 +1,8 @@ package org.ibex.xt; import java.io.*; -import java.net.*; import java.util.*; -import javax.servlet.ServletContext; // FIXME: remove references, use Template.Scope +import javax.servlet.ServletContext; import org.ibex.util.*; import org.ibex.js.*; @@ -72,27 +71,13 @@ public class Prevalence { public static class JSTransaction implements Transaction { public static final long serialVersionUid = 0xfb2aa281; private JS js; - JSScope newscope; - List v; - public JSTransaction(JS js) throws JSExn { - newscope = new JSScope(null); - this.js = JS.cloneWithNewParentScope(js, newscope); - v = JS.getFormalArgs(this.js); - for(int i=0; i