@@ -1476,7 +1476,7 @@ private static boolean isLineBreak(final char c) {
1476
1476
* @return true if {@code c} is a line break character (and not null).
1477
1477
*/
1478
1478
private static boolean isLineBreak (final Character c ) {
1479
- return c != null && isLineBreak (c .charValue ()); // N.B. Explicit (un)boxing is intentional
1479
+ return c != null && isLineBreak (c .charValue ()); // Explicit (un)boxing is intentional
1480
1480
}
1481
1481
1482
1482
/** Same test as in as {@link String#trim()}. */
@@ -1697,7 +1697,7 @@ public boolean equals(final Object obj) {
1697
1697
}
1698
1698
1699
1699
private void escape (final char c , final Appendable appendable ) throws IOException {
1700
- append (escapeCharacter .charValue (), appendable ); // N.B. Explicit (un)boxing is intentional
1700
+ append (escapeCharacter .charValue (), appendable ); // Explicit (un)boxing is intentional
1701
1701
append (c , appendable );
1702
1702
}
1703
1703
@@ -1835,7 +1835,7 @@ public DuplicateHeaderMode getDuplicateHeaderMode() {
1835
1835
* @return the escape character, may be {@code 0}
1836
1836
*/
1837
1837
char getEscapeChar () {
1838
- return escapeCharacter != null ? escapeCharacter .charValue () : 0 ; // N.B. Explicit (un)boxing is intentional
1838
+ return escapeCharacter != null ? escapeCharacter .charValue () : 0 ; // Explicit (un)boxing is intentional
1839
1839
}
1840
1840
1841
1841
/**
@@ -2161,15 +2161,15 @@ private void print(final InputStream inputStream, final Appendable out, final bo
2161
2161
}
2162
2162
final boolean quoteCharacterSet = isQuoteCharacterSet ();
2163
2163
if (quoteCharacterSet ) {
2164
- append (getQuoteCharacter ().charValue (), out ); // N.B. Explicit (un)boxing is intentional
2164
+ append (getQuoteCharacter ().charValue (), out ); // Explicit (un)boxing is intentional
2165
2165
}
2166
2166
// Stream the input to the output without reading or holding the whole value in memory.
2167
2167
// AppendableOutputStream cannot "close" an Appendable.
2168
2168
try (OutputStream outputStream = new Base64OutputStream (new AppendableOutputStream <>(out ))) {
2169
2169
IOUtils .copy (inputStream , outputStream );
2170
2170
}
2171
2171
if (quoteCharacterSet ) {
2172
- append (getQuoteCharacter ().charValue (), out ); // N.B. Explicit (un)boxing is intentional
2172
+ append (getQuoteCharacter ().charValue (), out ); // Explicit (un)boxing is intentional
2173
2173
}
2174
2174
}
2175
2175
@@ -2418,7 +2418,7 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
2418
2418
final int len = charSeq .length ();
2419
2419
final char [] delim = getDelimiterCharArray ();
2420
2420
final int delimLength = delim .length ;
2421
- final char quoteChar = getQuoteCharacter ().charValue (); // N.B. Explicit (un)boxing is intentional
2421
+ final char quoteChar = getQuoteCharacter ().charValue (); // Explicit (un)boxing is intentional
2422
2422
// If escape char not specified, default to the quote char
2423
2423
// This avoids having to keep checking whether there is an escape character
2424
2424
// at the cost of checking against quote twice
@@ -2521,7 +2521,7 @@ private void printWithQuotes(final Reader reader, final Appendable appendable) t
2521
2521
printWithEscapes (reader , appendable );
2522
2522
return ;
2523
2523
}
2524
- final char quote = getQuoteCharacter ().charValue (); // N.B. Explicit (un)boxing is intentional
2524
+ final char quote = getQuoteCharacter ().charValue (); // Explicit (un)boxing is intentional
2525
2525
// (1) Append opening quote
2526
2526
append (quote , appendable );
2527
2527
// (2) Append Reader contents, doubling quotes
@@ -2610,13 +2610,13 @@ private void validate() throws IllegalArgumentException {
2610
2610
if (containsLineBreak (delimiter )) {
2611
2611
throw new IllegalArgumentException ("The delimiter cannot be a line break" );
2612
2612
}
2613
- if (quoteCharacter != null && contains (delimiter , quoteCharacter .charValue ())) { // N.B. Explicit (un)boxing is intentional
2613
+ if (quoteCharacter != null && contains (delimiter , quoteCharacter .charValue ())) { // Explicit (un)boxing is intentional
2614
2614
throw new IllegalArgumentException ("The quoteChar character and the delimiter cannot be the same ('" + quoteCharacter + "')" );
2615
2615
}
2616
- if (escapeCharacter != null && contains (delimiter , escapeCharacter .charValue ())) { // N.B. Explicit (un)boxing is intentional
2616
+ if (escapeCharacter != null && contains (delimiter , escapeCharacter .charValue ())) { // Explicit (un)boxing is intentional
2617
2617
throw new IllegalArgumentException ("The escape character and the delimiter cannot be the same ('" + escapeCharacter + "')" );
2618
2618
}
2619
- if (commentMarker != null && contains (delimiter , commentMarker .charValue ())) { // N.B. Explicit (un)boxing is intentional
2619
+ if (commentMarker != null && contains (delimiter , commentMarker .charValue ())) { // Explicit (un)boxing is intentional
2620
2620
throw new IllegalArgumentException ("The comment start character and the delimiter cannot be the same ('" + commentMarker + "')" );
2621
2621
}
2622
2622
if (quoteCharacter != null && quoteCharacter .equals (commentMarker )) {
0 commit comments