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-csv.git


The following commit(s) were added to refs/heads/master by this push:
     new b069c2dc Use final
b069c2dc is described below

commit b069c2dcf9933e2317b378c517328e380b2f338e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Mar 12 11:14:01 2024 -0400

    Use final
    
    Remove whitespace
---
 src/main/java/org/apache/commons/csv/CSVFormat.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java 
b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 3d9ad948..522b7785 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -55,7 +55,6 @@ import org.apache.commons.codec.binary.Base64OutputStream;
 import org.apache.commons.io.IOUtils;
 import org.apache.commons.io.function.Uncheck;
 import org.apache.commons.io.output.AppendableOutputStream;
-import org.apache.commons.io.output.CloseShieldOutputStream;
 
 /**
  * Specifies the format of a CSV file for parsing and writing.
@@ -1586,7 +1585,7 @@ public final class CSVFormat implements Serializable {
                 skipHeaderRecord == other.skipHeaderRecord && 
trailingDelimiter == other.trailingDelimiter && trim == other.trim;
     }
 
-    private void escape(char c, final Appendable appendable) throws 
IOException {
+    private void escape(final char c, final Appendable appendable) throws 
IOException {
         append(escapeCharacter.charValue(), appendable);
         append(c, appendable);
     }
@@ -2092,7 +2091,7 @@ public final class CSVFormat implements Serializable {
         if (quoteCharacterSet) {
             append(getQuoteCharacter().charValue(), out);
         }
-        // Stream the input to the output without reading or holding the whole 
value in memory. 
+        // Stream the input to the output without reading or holding the whole 
value in memory.
         // AppendableOutputStream cannot "close" an Appendable.
         try (OutputStream outputStream = new Base64OutputStream(new 
AppendableOutputStream<>(out))) {
             IOUtils.copy(inputStream, outputStream);

Reply via email to