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

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

commit f4770e6cf1075f33e6f555d9456d300d54996ded
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 13 14:53:18 2023 +0100

    Align with 11.0.x (and silence some IDE warnings)
---
 java/org/apache/tomcat/dbcp/dbcp2/DataSourceMXBean.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/java/org/apache/tomcat/dbcp/dbcp2/DataSourceMXBean.java 
b/java/org/apache/tomcat/dbcp/dbcp2/DataSourceMXBean.java
index 7315c5889b..f6dbef1dd8 100644
--- a/java/org/apache/tomcat/dbcp/dbcp2/DataSourceMXBean.java
+++ b/java/org/apache/tomcat/dbcp/dbcp2/DataSourceMXBean.java
@@ -142,6 +142,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getMaxConnLifetimeMillis()}.
      */
+    @SuppressWarnings("javadoc")
     long getMaxConnLifetimeMillis();
 
     /**
@@ -170,6 +171,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getMaxWaitMillis()}.
      */
+    @SuppressWarnings("javadoc")
     long getMaxWaitMillis();
 
     /**
@@ -177,6 +179,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getMinEvictableIdleTimeMillis()}.
      */
+    @SuppressWarnings("javadoc")
     long getMinEvictableIdleTimeMillis();
 
     /**
@@ -226,6 +229,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getRemoveAbandonedTimeout()}.
      */
+    @SuppressWarnings("javadoc")
     int getRemoveAbandonedTimeout();
 
     /**
@@ -233,6 +237,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getSoftMinEvictableIdleTimeMillis()}.
      */
+    @SuppressWarnings("javadoc")
     long getSoftMinEvictableIdleTimeMillis();
 
     /**
@@ -261,6 +266,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getTimeBetweenEvictionRunsMillis()}.
      */
+    @SuppressWarnings("javadoc")
     long getTimeBetweenEvictionRunsMillis();
 
     /**
@@ -289,6 +295,7 @@ public interface DataSourceMXBean {
      *
      * @return {@link BasicDataSource#getValidationQueryTimeout()}.
      */
+    @SuppressWarnings("javadoc")
     int getValidationQueryTimeout();
 
     /**


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

Reply via email to