incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r654478 - /incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
Date Thu, 08 May 2008 11:18:09 GMT
Author: cziegeler
Date: Thu May  8 04:18:09 2008
New Revision: 654478

URL: http://svn.apache.org/viewvc?rev=654478&view=rev
Log:
Remove unused method (which has an endless recursion)

Modified:
    incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java

Modified: incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java?rev=654478&r1=654477&r2=654478&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
(original)
+++ incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
Thu May  8 04:18:09 2008
@@ -18,9 +18,7 @@
 
 import static org.apache.sling.api.scripting.SlingBindings.SLING;
 
-import java.io.IOException;
 import java.io.Reader;
-import java.util.Map;
 
 import javax.jcr.RepositoryException;
 import javax.script.Bindings;
@@ -31,6 +29,8 @@
 import javax.servlet.ServletContext;
 
 import org.apache.sling.api.SlingException;
+import org.apache.sling.api.SlingIOException;
+import org.apache.sling.api.SlingServletException;
 import org.apache.sling.api.scripting.SlingScript;
 import org.apache.sling.api.scripting.SlingScriptHelper;
 import org.apache.sling.jcr.api.SlingRepository;
@@ -47,7 +47,7 @@
 
 /**
  * The JSP engine (a.k.a Jasper).
- * 
+ *
  * @scr.component scr="no" label="%jsphandler.name"
  *                description="%jsphandler.description"
  * @scr.property name="service.description" value="JSP Script Handler"
@@ -265,11 +265,6 @@
             super(JspScriptEngineFactory.this);
         }
 
-        public void eval(SlingScript script, Map<String, Object> props)
-                throws SlingException, IOException {
-            eval(script, props);
-        }
-
         public Object eval(Reader script, ScriptContext context)
                 throws ScriptException {
             Bindings props = context.getBindings(ScriptContext.ENGINE_SCOPE);



Mime
View raw message