Skip to content

Commit 32254ba

Browse files
committed
Minor fix wrt change in jackson-databind/csv encoder
1 parent b4410a6 commit 32254ba

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

csv/src/main/java/tools/jackson/dataformat/csv/impl/CsvEncoder.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ public class CsvEncoder
2424
// Default set of escaped characters (none)
2525
private static final int [] sOutputEscapes = new int[0];
2626

27-
final protected static char[] HEX_CHARS = CharTypes.copyHexChars();
27+
protected final static char[] HEX_CHARS = CharTypes.copyHexChars(true);
2828

2929
/**
3030
* As an optimization we try coalescing short writes into
3131
* buffer; but pass longer directly.
3232
*/
33-
final protected static int SHORT_WRITE = 32;
33+
protected final static int SHORT_WRITE = 32;
3434

3535
/**
3636
* Also: only do check for optional quotes for short
3737
* values; longer ones will always be quoted.
3838
*/
39-
final protected static int MAX_QUOTE_CHECK = 24;
39+
protected final static int MAX_QUOTE_CHECK = 24;
4040

41-
final protected BufferedValue[] NO_BUFFERED = new BufferedValue[0];
41+
protected final BufferedValue[] NO_BUFFERED = new BufferedValue[0];
4242

4343
private final static char[] TRUE_CHARS = "true".toCharArray();
4444
private final static char[] FALSE_CHARS = "false".toCharArray();
@@ -55,32 +55,32 @@ public class CsvEncoder
5555
/**********************************************************************
5656
*/
5757

58-
final protected IOContext _ioContext;
58+
protected final IOContext _ioContext;
5959

6060
/**
6161
* Underlying {@link Writer} used for output.
6262
*/
63-
final protected Writer _out;
63+
protected final Writer _out;
6464

65-
final protected char _cfgColumnSeparator;
65+
protected final char _cfgColumnSeparator;
6666

67-
final protected int _cfgQuoteCharacter;
67+
protected final int _cfgQuoteCharacter;
6868

69-
final protected int _cfgEscapeCharacter;
69+
protected final int _cfgEscapeCharacter;
7070

71-
final protected char[] _cfgLineSeparator;
71+
protected final char[] _cfgLineSeparator;
7272

73-
final protected char[] _cfgNullValue;
73+
protected final char[] _cfgNullValue;
7474

75-
final protected int _cfgLineSeparatorLength;
75+
protected final int _cfgLineSeparatorLength;
7676

77-
final protected int _cfgMaxQuoteCheckChars;
77+
protected final int _cfgMaxQuoteCheckChars;
7878

7979
/**
8080
* Lowest-valued character that is safe to output without using
8181
* quotes around value, NOT including possible escape character.
8282
*/
83-
final protected int _cfgMinSafeChar;
83+
protected final int _cfgMinSafeChar;
8484

8585
protected int _csvFeatures;
8686

@@ -90,7 +90,7 @@ public class CsvEncoder
9090
*/
9191
protected boolean _cfgOptimalQuoting;
9292

93-
final protected boolean _cfgAllowsComments;
93+
protected final boolean _cfgAllowsComments;
9494

9595
protected boolean _cfgIncludeMissingTail;
9696

0 commit comments

Comments
 (0)