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 cdcd8402ed Fix Java 17 Javadoc warnings
cdcd8402ed is described below

commit cdcd8402ed25d7b65748842ae7d027939add86ba
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jun 21 11:30:57 2022 +0100

    Fix Java 17 Javadoc warnings
    
    Trivial fix to trigger CI
---
 java/jakarta/el/BeanELResolver.java | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/java/jakarta/el/BeanELResolver.java 
b/java/jakarta/el/BeanELResolver.java
index abd88439ae..eb54c36bd6 100644
--- a/java/jakarta/el/BeanELResolver.java
+++ b/java/jakarta/el/BeanELResolver.java
@@ -33,6 +33,9 @@ import java.util.Objects;
 import java.util.WeakHashMap;
 import java.util.concurrent.ConcurrentHashMap;
 
+/**
+ * Standard ELResolver for working with JavaBeans.
+ */
 public class BeanELResolver extends ELResolver {
 
     private static final int CACHE_SIZE;
@@ -53,10 +56,19 @@ public class BeanELResolver extends ELResolver {
 
     private final ConcurrentCache<String, BeanProperties> cache = new 
ConcurrentCache<>(CACHE_SIZE);
 
+    /**
+     * Creates a writable instance of the standard JavaBean resolver.
+     */
     public BeanELResolver() {
         this.readOnly = false;
     }
 
+    /**
+     * Creates an instance of the standard JavaBean resolver.
+     *
+     * @param readOnly  {@code true} if the created instance should be 
read-only
+     *                  otherwise false.
+     */
     public BeanELResolver(boolean readOnly) {
         this.readOnly = readOnly;
     }


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

Reply via email to