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/07/03 21:12:21 UTC
svn commit: r1499523 - /tomcat/trunk/java/javax/el/MethodExpression.java
Author: markt
Date: Wed Jul 3 19:12:20 2013
New Revision: 1499523
URL: http://svn.apache.org/r1499523
Log:
EL 3.0
Adsd new method that addresses typo
Modified:
tomcat/trunk/java/javax/el/MethodExpression.java
Modified: tomcat/trunk/java/javax/el/MethodExpression.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/MethodExpression.java?rev=1499523&r1=1499522&r2=1499523&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/MethodExpression.java (original)
+++ tomcat/trunk/java/javax/el/MethodExpression.java Wed Jul 3 19:12:20 2013
@@ -14,12 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package javax.el;
-/**
- *
- */
public abstract class MethodExpression extends Expression {
private static final long serialVersionUID = 8163925562047324656L;
@@ -29,12 +25,23 @@ public abstract class MethodExpression e
public abstract Object invoke(ELContext context, Object[] params) throws NullPointerException, PropertyNotFoundException, MethodNotFoundException, ELException;
/**
+ * @since EL 3.0
+ */
+ public boolean isParametersProvided() {
+ // Expected to be over-ridden by implementation
+ return false;
+ }
+
+ /**
* @since EL 2.2
*
* Note: The spelling mistake is deliberate.
* isParmetersProvided() - Specification definition
* isParametersProvided() - Corrected spelling
+ *
+ * @deprecated Use {@link #isParametersProvided()}
*/
+ @Deprecated
public boolean isParmetersProvided() {
// Expected to be over-ridden by implementation
return false;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org