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 a8fe69dd5 Remove @SuppressWarnings
a8fe69dd5 is described below

commit a8fe69dd58e15b87e4f48cf89b7747e0e60e4656
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 7 22:36:42 2024 -0400

    Remove @SuppressWarnings
---
 src/main/java/org/apache/commons/io/output/ProxyCollectionWriter.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/io/output/ProxyCollectionWriter.java 
b/src/main/java/org/apache/commons/io/output/ProxyCollectionWriter.java
index 008feb57b..e3c1d107b 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyCollectionWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyCollectionWriter.java
@@ -77,7 +77,6 @@ public class ProxyCollectionWriter extends 
FilterCollectionWriter {
      * @throws IOException if an I/O error occurs.
      * @since 2.0
      */
-    @SuppressWarnings("resource") // Fluent API.
     @Override
     public Writer append(final char c) throws IOException {
         try {
@@ -97,7 +96,6 @@ public class ProxyCollectionWriter extends 
FilterCollectionWriter {
      * @return this writer
      * @throws IOException if an I/O error occurs.
      */
-    @SuppressWarnings("resource") // Fluent API.
     @Override
     public Writer append(final CharSequence csq) throws IOException {
         try {
@@ -120,7 +118,6 @@ public class ProxyCollectionWriter extends 
FilterCollectionWriter {
      * @return this writer
      * @throws IOException if an I/O error occurs.
      */
-    @SuppressWarnings("resource") // Fluent API.
     @Override
     public Writer append(final CharSequence csq, final int start, final int 
end) throws IOException {
         try {

Reply via email to