Skip to content

Commit b069c2d

Browse files
committed
Use final
Remove whitespace
1 parent f417d87 commit b069c2d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
import org.apache.commons.io.IOUtils;
5656
import org.apache.commons.io.function.Uncheck;
5757
import org.apache.commons.io.output.AppendableOutputStream;
58-
import org.apache.commons.io.output.CloseShieldOutputStream;
5958

6059
/**
6160
* Specifies the format of a CSV file for parsing and writing.
@@ -1586,7 +1585,7 @@ public boolean equals(final Object obj) {
15861585
skipHeaderRecord == other.skipHeaderRecord && trailingDelimiter == other.trailingDelimiter && trim == other.trim;
15871586
}
15881587

1589-
private void escape(char c, final Appendable appendable) throws IOException {
1588+
private void escape(final char c, final Appendable appendable) throws IOException {
15901589
append(escapeCharacter.charValue(), appendable);
15911590
append(c, appendable);
15921591
}
@@ -2092,7 +2091,7 @@ private void print(final InputStream inputStream, final Appendable out, final bo
20922091
if (quoteCharacterSet) {
20932092
append(getQuoteCharacter().charValue(), out);
20942093
}
2095-
// Stream the input to the output without reading or holding the whole value in memory.
2094+
// Stream the input to the output without reading or holding the whole value in memory.
20962095
// AppendableOutputStream cannot "close" an Appendable.
20972096
try (OutputStream outputStream = new Base64OutputStream(new AppendableOutputStream<>(out))) {
20982097
IOUtils.copy(inputStream, outputStream);

0 commit comments

Comments
 (0)