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 20:57:35 UTC

svn commit: r1499514 - /tomcat/trunk/java/javax/el/StaticFieldELResolver.java

Author: markt
Date: Wed Jul  3 18:57:34 2013
New Revision: 1499514

URL: http://svn.apache.org/r1499514
Log:
Needs to extend ELResolver

Modified:
    tomcat/trunk/java/javax/el/StaticFieldELResolver.java

Modified: tomcat/trunk/java/javax/el/StaticFieldELResolver.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/StaticFieldELResolver.java?rev=1499514&r1=1499513&r2=1499514&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/StaticFieldELResolver.java (original)
+++ tomcat/trunk/java/javax/el/StaticFieldELResolver.java Wed Jul  3 18:57:34 2013
@@ -27,8 +27,9 @@ import java.util.Iterator;
 /**
  * @since EL 3.0
  */
-public class StaticFieldELResolver {
+public class StaticFieldELResolver extends ELResolver {
 
+    @Override
     public Object getValue(ELContext context, Object base, Object property) {
 
         if (context == null) {
@@ -64,13 +65,7 @@ public class StaticFieldELResolver {
     }
 
 
-    /**
-     *
-     * @param context
-     * @param base
-     * @param property
-     * @param value
-     */
+    @Override
     public void setValue(ELContext context, Object base, Object property,
             Object value) {
 
@@ -89,6 +84,7 @@ public class StaticFieldELResolver {
     }
 
 
+    @Override
     public Object invoke(ELContext context, Object base, Object method,
             Class<?>[] paramTypes, Object[] params) {
 
@@ -160,6 +156,7 @@ public class StaticFieldELResolver {
         return null;
     }
 
+    @Override
     public Class<?> getType(ELContext context, Object base, Object property) {
         if (context == null) {
             throw new NullPointerException();
@@ -194,6 +191,7 @@ public class StaticFieldELResolver {
     }
 
 
+    @Override
     public boolean isReadOnly(ELContext context, Object base, Object property) {
         if (context == null) {
             throw new NullPointerException();
@@ -210,10 +208,8 @@ public class StaticFieldELResolver {
 
     /**
      * Always returns <code>null</code>.
-     *
-     * @param context
-     * @param base
      */
+    @Override
     public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
             Object base) {
         return null;
@@ -221,10 +217,8 @@ public class StaticFieldELResolver {
 
     /**
      * Always returns <code>String.class</code>.
-     *
-     * @param context
-     * @param base
      */
+    @Override
     public Class<?> getCommonPropertyType(ELContext context, Object base) {
         return String.class;
     }



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