File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
java/org/apache/tomcat/dbcp/pool2 Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 3131 * @param <T> the type of object in the pool.
3232 * @since 2.0
3333 */
34+ @ SuppressWarnings ("deprecation" )
3435public interface PooledObject <T > extends Comparable <PooledObject <T >> {
3536
3637 /**
@@ -273,6 +274,7 @@ default Instant getLastReturnInstant() {
273274 * @return the last time this object was used
274275 * @since 2.11.0
275276 */
277+ @ SuppressWarnings ("javadoc" )
276278 default Instant getLastUsedInstant () {
277279 return Instant .ofEpochMilli (getLastUsedTime ());
278280 }
Original file line number Diff line number Diff line change 3030 * @param <T> Type of element pooled.
3131 * @since 2.0
3232 */
33+ @ SuppressWarnings ("deprecation" )
3334public abstract class BaseObjectPoolConfig <T > extends BaseObject implements Cloneable {
3435
3536 /**
You can’t perform that action at this time.
0 commit comments