This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit a40a65e02cc76a9dd2e30a7e30cd3f313d6b8481 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Feb 11 10:15:31 2022 +0000 Suppress Javadoc warnings The MXBean has to use the deprecated methods as the replacement methods use Duration which isn't a valid type for use in an MXBean --- 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 7315c58..f6dbef1 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