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 012775a Remove warning annotation.
012775a is described below
commit 012775a7409063ca1a09909c602aa5986c81583f
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 25 17:07:19 2021 -0500
Remove warning annotation.
---
src/main/java/org/apache/commons/io/IOUtils.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/IOUtils.java
b/src/main/java/org/apache/commons/io/IOUtils.java
index 313b2e9..d5736cf 100644
--- a/src/main/java/org/apache/commons/io/IOUtils.java
+++ b/src/main/java/org/apache/commons/io/IOUtils.java
@@ -16,9 +16,6 @@
*/
package org.apache.commons.io;
-import static org.apache.commons.io.IOUtils.DEFAULT_BUFFER_SIZE;
-import static org.apache.commons.io.IOUtils.EOF;
-
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
@@ -805,7 +802,6 @@ public class IOUtils {
* @throws IOException if an I/O error occurs
* @since 1.1
*/
- @SuppressWarnings("resource")
public static boolean contentEquals(final Reader input1, final Reader
input2) throws IOException {
if (input1 == input2) {
return true;