You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/09/12 11:39:15 UTC

svn commit: r1522505 - /tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java

Author: markt
Date: Thu Sep 12 09:39:15 2013
New Revision: 1522505

URL: http://svn.apache.org/r1522505
Log:
Remove unused code.

Modified:
    tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java

Modified: tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java?rev=1522505&r1=1522504&r2=1522505&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java (original)
+++ tomcat/trunk/java/org/apache/jasper/runtime/JspRuntimeLibrary.java Thu Sep 12 09:39:15 2013
@@ -582,27 +582,6 @@ public class JspRuntimeLibrary {
     // __end lookupReadMethodMethod
 
     // handles <jsp:setProperty> with EL expression for 'value' attribute
-/** Use proprietaryEvaluate
-    public static void handleSetPropertyExpression(Object bean,
-        String prop, String expression, PageContext pageContext,
-        VariableResolver variableResolver, FunctionMapper functionMapper )
-        throws JasperException
-    {
-        try {
-            Method method = getWriteMethod(bean.getClass(), prop);
-            method.invoke(bean, new Object[] {
-                pageContext.getExpressionEvaluator().evaluate(
-                    expression,
-                    method.getParameterTypes()[0],
-                    variableResolver,
-                    functionMapper,
-                    null )
-            });
-        } catch (Exception ex) {
-            throw new JasperException(ex);
-        }
-    }
-**/
     public static void handleSetPropertyExpression(Object bean,
         String prop, String expression, PageContext pageContext,
         ProtectedFunctionMapper functionMapper )



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org