Skip to content

Commit 012775a

Browse files
author
Gary Gregory
committed
Remove warning annotation.
1 parent aa04779 commit 012775a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
*/
1717
package org.apache.commons.io;
1818

19-
import static org.apache.commons.io.IOUtils.DEFAULT_BUFFER_SIZE;
20-
import static org.apache.commons.io.IOUtils.EOF;
21-
2219
import java.io.BufferedInputStream;
2320
import java.io.BufferedOutputStream;
2421
import java.io.BufferedReader;
@@ -805,7 +802,6 @@ public static boolean contentEquals(final InputStream input1, final InputStream
805802
* @throws IOException if an I/O error occurs
806803
* @since 1.1
807804
*/
808-
@SuppressWarnings("resource")
809805
public static boolean contentEquals(final Reader input1, final Reader input2) throws IOException {
810806
if (input1 == input2) {
811807
return true;

0 commit comments

Comments
 (0)