This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
The following commit(s) were added to refs/heads/master by this push:
new 771f1879 Removed old @SuppressWarnings
771f1879 is described below
commit 771f18792dd5d98d41f8b3efae4f9eea2734281a
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jan 21 17:39:30 2023 -0500
Removed old @SuppressWarnings
---
src/main/java/org/apache/commons/dbcp2/Utils.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/Utils.java
b/src/main/java/org/apache/commons/dbcp2/Utils.java
index fcfa2839..d940586c 100644
--- a/src/main/java/org/apache/commons/dbcp2/Utils.java
+++ b/src/main/java/org/apache/commons/dbcp2/Utils.java
@@ -183,7 +183,6 @@ public final class Utils {
* @return SQL codes of fatal connection errors.
* @since 2.10.0
*/
- @SuppressWarnings("unchecked")
public static Set<String> getDisconnectionSqlCodes() {
return new HashSet<>(DISCONNECTION_SQL_CODES);
}