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 2024/02/20 16:30:16 UTC

(tomcat) branch 8.5.x updated: Refactor to make use of {@inheritDoc} better

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 2d065f07dc Refactor to make use of {@inheritDoc} better
2d065f07dc is described below

commit 2d065f07dc3bb139b1cfb50bc1ef03ad0ef3cbff
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Feb 20 12:45:56 2024 +0000

    Refactor to make use of {@inheritDoc} better
---
 java/javax/el/ELResolver.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/javax/el/ELResolver.java b/java/javax/el/ELResolver.java
index 59c568ec39..4061288061 100644
--- a/java/javax/el/ELResolver.java
+++ b/java/javax/el/ELResolver.java
@@ -45,7 +45,7 @@ public abstract class ELResolver {
     public abstract Object getValue(ELContext context, Object base, Object property);
 
     /**
-     * Invokes a method on the the given object. This default implementation always returns <code>null</code>.
+     * Invokes a method on the the given object.
      *
      * @param context    The EL context for this evaluation
      * @param base       The base object on which the method is to be found
@@ -53,7 +53,7 @@ public abstract class ELResolver {
      * @param paramTypes The types of the parameters of the method to invoke
      * @param params     The parameters with which to invoke the method
      *
-     * @return Always <code>null</code>
+     * @return This default implementation always returns <code>null</code>
      *
      * @since EL 2.2
      */
@@ -134,13 +134,13 @@ public abstract class ELResolver {
     public abstract Class<?> getCommonPropertyType(ELContext context, Object base);
 
     /**
-     * Converts the given object to the given type. This default implementation always returns <code>null</code>.
+     * Converts the given object to the given type.
      *
      * @param context The EL context for this evaluation
      * @param obj     The object to convert
      * @param type    The type to which the object should be converted
      *
-     * @return Always <code>null</code>
+     * @return This default implementation always returns <code>null</code>
      *
      * @since EL 3.0
      */


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