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 2023/06/27 12:12:22 UTC

[tomcat] branch main updated: Improve Javadoc

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 191df1c2d6 Improve Javadoc
191df1c2d6 is described below

commit 191df1c2d6373a7842c7d59744829618ad194bd1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jun 27 13:11:57 2023 +0100

    Improve Javadoc
---
 java/jakarta/el/ELResolver.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/java/jakarta/el/ELResolver.java b/java/jakarta/el/ELResolver.java
index 49f6a5a105..c356fb379d 100644
--- a/java/jakarta/el/ELResolver.java
+++ b/java/jakarta/el/ELResolver.java
@@ -60,13 +60,15 @@ public abstract class ELResolver {
     }
 
     /**
-     * Obtain the type of the given property on the given object using the given context.
+     * Obtain the most generally acceptable type that may be used to set the given property on the given object using
+     * the given context.
      *
      * @param context  The EL context for this evaluation
      * @param base     The base object on which the property is to be found
      * @param property The property whose type is to be returned
      *
-     * @return the type of the provided property
+     * @return the most general type that maybe used to set the provided property or {@code null} if the resolver is
+     *             read-only.
      *
      * @throws NullPointerException      If the supplied context is <code>null</code>
      * @throws PropertyNotFoundException If the base/property combination provided to the resolver is one that the


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