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 2021/12/03 13:52:04 UTC

[commons-io] branch master updated: Add @SuppressWarnings.

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 1505133  Add @SuppressWarnings.
1505133 is described below

commit 15051332e265447cee03d39374c3329b162424b0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 3 08:52:02 2021 -0500

    Add @SuppressWarnings.
---
 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 6895bfd..d07335f 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(final Class[] classes) throws IOException {
+    public Object getContent(@SuppressWarnings("rawtypes") final Class[] classes) throws IOException {
         return urlConnection.getContent(classes);
     }