You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/07/30 18:25:33 UTC
[commons-dbcp] 04/18: Revert "Add @SuppressWarnings."
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
commit 18eb0421549efa1993202856d785a89d568017be
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 30 09:41:53 2019 -0400
Revert "Add @SuppressWarnings."
This reverts commit dabd348acf5e9ea732d2e1395a22aa27ef23b048.
---
src/main/java/org/apache/commons/dbcp2/BasicDataSource.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
index 85e94f3..5ef4156 100644
--- a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
@@ -1493,7 +1493,6 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
* if invalidating the connection failed.
* @since 2.1
*/
- @SuppressWarnings("resource")
public void invalidateConnection(final Connection connection) throws IllegalStateException {
if (connection == null) {
return;