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 2022/02/12 18:30:44 UTC
[commons-io] branch master updated: Remove @SuppressWarnings, not needed.
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-io.git
The following commit(s) were added to refs/heads/master by this push:
new 3da2535 Remove @SuppressWarnings, not needed.
3da2535 is described below
commit 3da2535d8b145449f6c35c0e29c595bcae73e073
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Feb 12 13:30:42 2022 -0500
Remove @SuppressWarnings, not needed.
---
src/main/java/org/apache/commons/io/CloseableURLConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/CloseableURLConnection.java b/src/main/java/org/apache/commons/io/CloseableURLConnection.java
index d07335f..6895bfd 100644
--- a/src/main/java/org/apache/commons/io/CloseableURLConnection.java
+++ b/src/main/java/org/apache/commons/io/CloseableURLConnection.java
@@ -83,7 +83,7 @@ class CloseableURLConnection extends URLConnection implements AutoCloseable {
}
@Override
- public Object getContent(@SuppressWarnings("rawtypes") final Class[] classes) throws IOException {
+ public Object getContent(final Class[] classes) throws IOException {
return urlConnection.getContent(classes);
}