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/02/11 10:18:16 UTC
[tomcat] 02/02: Suppress Javadoc warnings
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
commit 71acd043f33f4f12fd5fd40d66beb9659bc9b682
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org