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 2021/09/23 10:01:10 UTC
[tomcat] branch main updated: Add default implementation to align
with EL spec changes
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 7399991 Add default implementation to align with EL spec changes
7399991 is described below
commit 739999102cb15eb9dd5feba25dd463fd9219272c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 23 11:00:38 2021 +0100
Add default implementation to align with EL spec changes
---
java/jakarta/el/ELResolver.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/java/jakarta/el/ELResolver.java b/java/jakarta/el/ELResolver.java
index e3e387d..8846c02 100644
--- a/java/jakarta/el/ELResolver.java
+++ b/java/jakarta/el/ELResolver.java
@@ -121,6 +121,8 @@ public abstract class ELResolver {
/**
* Obtain the feature descriptors for the resolvable properties of the given
* object.
+ * <p>
+ * The default implementation returns {@code null}.
*
* @param context The context in which the examination takes place
* @param base The object to examine
@@ -132,7 +134,9 @@ public abstract class ELResolver {
* Tomcat 11.
*/
@Deprecated(forRemoval = true, since = "EL 5.0")
- public abstract Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base);
+ public Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base) {
+ return null;
+ }
/**
* Obtain the most common type that is acceptable for the given base object.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org