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 2022/06/21 10:31:11 UTC
[tomcat] branch 10.0.x updated: Fix Java 17 Javadoc warnings
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 0e301c4d9b Fix Java 17 Javadoc warnings
0e301c4d9b is described below
commit 0e301c4d9b0794162969bb0d09daf5f0940cb20b
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 4836a56aad..02d8bbef39 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org