tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r895423 - in /tomcat/trunk/java/org/apache/jasper/runtime: JspContextWrapper.java ProtectedFunctionMapper.java
Date Sun, 03 Jan 2010 15:43:38 GMT
Author: markt
Date: Sun Jan  3 15:43:37 2010
New Revision: 895423

URL: http://svn.apache.org/viewvc?rev=895423&view=rev
Log:
Mark the implementations of deprecated methods as deprecated

Modified:
    tomcat/trunk/java/org/apache/jasper/runtime/JspContextWrapper.java
    tomcat/trunk/java/org/apache/jasper/runtime/ProtectedFunctionMapper.java

Modified: tomcat/trunk/java/org/apache/jasper/runtime/JspContextWrapper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/runtime/JspContextWrapper.java?rev=895423&r1=895422&r2=895423&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/runtime/JspContextWrapper.java (original)
+++ tomcat/trunk/java/org/apache/jasper/runtime/JspContextWrapper.java Sun Jan  3 15:43:37
2010
@@ -303,6 +303,7 @@
 	}
 
 	@Override
+	@Deprecated
     public VariableResolver getVariableResolver() {
 		return this;
 	}
@@ -323,6 +324,7 @@
 	}
 
 	@Override
+	@Deprecated
     public ExpressionEvaluator getExpressionEvaluator() {
 		return invokingJspCtxt.getExpressionEvaluator();
 	}
@@ -344,6 +346,7 @@
 	/**
 	 * VariableResolver interface
 	 */
+	@Deprecated
 	public Object resolveVariable(String pName) throws ELException {
 		ELContext ctx = this.getELContext();
 		return ctx.getELResolver().getValue(ctx, null, pName);

Modified: tomcat/trunk/java/org/apache/jasper/runtime/ProtectedFunctionMapper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/runtime/ProtectedFunctionMapper.java?rev=895423&r1=895422&r2=895423&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/runtime/ProtectedFunctionMapper.java (original)
+++ tomcat/trunk/java/org/apache/jasper/runtime/ProtectedFunctionMapper.java Sun Jan  3 15:43:37
2010
@@ -186,6 +186,7 @@
      * @return the result of the method mapping. Null means no entry found.
      */
     @Override
+    @Deprecated
     public Method resolveFunction(String prefix, String localName) {
         if (this.fnmap != null) {
             return this.fnmap.get(prefix + ":" + localName);



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


Mime
View raw message