@@ -1479,7 +1479,7 @@ private static boolean isLineBreak(final char c) {
14791479 * @return true if {@code c} is a line break character (and not null).
14801480 */
14811481 private static boolean isLineBreak (final Character c ) {
1482- return c != null && isLineBreak (c .charValue ()); // Explicit (un)boxing is intentional
1482+ return c != null && isLineBreak (c .charValue ()); // Explicit unboxing is intentional
14831483 }
14841484
14851485 /** Same test as in as {@link String#trim()}. */
@@ -1700,7 +1700,7 @@ public boolean equals(final Object obj) {
17001700 }
17011701
17021702 private void escape (final char c , final Appendable appendable ) throws IOException {
1703- append (escapeCharacter .charValue (), appendable ); // Explicit (un)boxing is intentional
1703+ append (escapeCharacter .charValue (), appendable ); // Explicit unboxing is intentional
17041704 append (c , appendable );
17051705 }
17061706
@@ -1838,7 +1838,7 @@ public DuplicateHeaderMode getDuplicateHeaderMode() {
18381838 * @return the escape character, may be {@code 0}
18391839 */
18401840 char getEscapeChar () {
1841- return escapeCharacter != null ? escapeCharacter .charValue () : 0 ; // Explicit (un)boxing is intentional
1841+ return escapeCharacter != null ? escapeCharacter .charValue () : 0 ; // Explicit unboxing is intentional
18421842 }
18431843
18441844 /**
@@ -2161,15 +2161,15 @@ private void print(final InputStream inputStream, final Appendable out, final bo
21612161 }
21622162 final boolean quoteCharacterSet = isQuoteCharacterSet ();
21632163 if (quoteCharacterSet ) {
2164- append (getQuoteCharacter ().charValue (), out ); // Explicit (un)boxing is intentional
2164+ append (getQuoteCharacter ().charValue (), out ); // Explicit unboxing is intentional
21652165 }
21662166 // Stream the input to the output without reading or holding the whole value in memory.
21672167 // AppendableOutputStream cannot "close" an Appendable.
21682168 try (OutputStream outputStream = new Base64OutputStream (new AppendableOutputStream <>(out ))) {
21692169 IOUtils .copy (inputStream , outputStream );
21702170 }
21712171 if (quoteCharacterSet ) {
2172- append (getQuoteCharacter ().charValue (), out ); // Explicit (un)boxing is intentional
2172+ append (getQuoteCharacter ().charValue (), out ); // Explicit unboxing is intentional
21732173 }
21742174 }
21752175
@@ -2418,7 +2418,7 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
24182418 final int len = charSeq .length ();
24192419 final char [] delim = getDelimiterCharArray ();
24202420 final int delimLength = delim .length ;
2421- final char quoteChar = getQuoteCharacter ().charValue (); // Explicit (un)boxing is intentional
2421+ final char quoteChar = getQuoteCharacter ().charValue (); // Explicit unboxing is intentional
24222422 // If escape char not specified, default to the quote char
24232423 // This avoids having to keep checking whether there is an escape character
24242424 // at the cost of checking against quote twice
@@ -2521,7 +2521,7 @@ private void printWithQuotes(final Reader reader, final Appendable appendable) t
25212521 printWithEscapes (reader , appendable );
25222522 return ;
25232523 }
2524- final char quote = getQuoteCharacter ().charValue (); // Explicit (un)boxing is intentional
2524+ final char quote = getQuoteCharacter ().charValue (); // Explicit unboxing is intentional
25252525 // (1) Append opening quote
25262526 append (quote , appendable );
25272527 // (2) Append Reader contents, doubling quotes
@@ -2607,13 +2607,13 @@ boolean useRow(final long rowNum) {
26072607 * @throws IllegalArgumentException Throw when any attribute is invalid or inconsistent with other attributes.
26082608 */
26092609 private void validate () throws IllegalArgumentException {
2610- if (quoteCharacter != null && contains (delimiter , quoteCharacter .charValue ())) { // Explicit (un)boxing is intentional
2610+ if (quoteCharacter != null && contains (delimiter , quoteCharacter .charValue ())) { // Explicit unboxing is intentional
26112611 throw new IllegalArgumentException ("The quoteChar character and the delimiter cannot be the same ('" + quoteCharacter + "')" );
26122612 }
2613- if (escapeCharacter != null && contains (delimiter , escapeCharacter .charValue ())) { // Explicit (un)boxing is intentional
2613+ if (escapeCharacter != null && contains (delimiter , escapeCharacter .charValue ())) { // Explicit unboxing is intentional
26142614 throw new IllegalArgumentException ("The escape character and the delimiter cannot be the same ('" + escapeCharacter + "')" );
26152615 }
2616- if (commentMarker != null && contains (delimiter , commentMarker .charValue ())) { // Explicit (un)boxing is intentional
2616+ if (commentMarker != null && contains (delimiter , commentMarker .charValue ())) { // Explicit unboxing is intentional
26172617 throw new IllegalArgumentException ("The comment start character and the delimiter cannot be the same ('" + commentMarker + "')" );
26182618 }
26192619 if (quoteCharacter != null && quoteCharacter .equals (commentMarker )) {
0 commit comments