File tree 2 files changed +6
-9
lines changed
src/main/java/com/fasterxml/jackson/core
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,8 @@ public void close()
68
68
69
69
out .close ();
70
70
71
- /* Let's 'flush' orphan surrogate, no matter what; but only
72
- * after cleanly closing everything else.
73
- */
71
+ // Let's 'flush' orphan surrogate, no matter what; but only
72
+ // after cleanly closing everything else.
74
73
int code = _surrogate ;
75
74
_surrogate = 0 ;
76
75
if (code > 0 ) {
Original file line number Diff line number Diff line change 17
17
public class WriterBasedJsonGenerator
18
18
extends JsonGeneratorImpl
19
19
{
20
- final protected static int SHORT_WRITE = 32 ;
20
+ protected final static int SHORT_WRITE = 32 ;
21
21
22
- final protected static char [] HEX_CHARS = CharTypes .copyHexChars ();
22
+ protected final static char [] HEX_CHARS = CharTypes .copyHexChars ();
23
23
24
24
/*
25
25
/**********************************************************
26
26
/* Configuration
27
27
/**********************************************************
28
28
*/
29
29
30
- final protected Writer _writer ;
30
+ protected final Writer _writer ;
31
31
32
32
/**
33
33
* Character used for quoting JSON Object property names
@@ -979,9 +979,7 @@ public void close() throws IOException
979
979
{
980
980
super .close ();
981
981
982
- /* 05-Dec-2008, tatu: To add [JACKSON-27], need to close open
983
- * scopes.
984
- */
982
+ // 05-Dec-2008, tatu: To add [JACKSON-27], need to close open scopes
985
983
// First: let's see that we still have buffers...
986
984
if (_outputBuffer != null
987
985
&& isEnabled (Feature .AUTO_CLOSE_JSON_CONTENT )) {
You can’t perform that action at this time.
0 commit comments