Skip to content

Commit ee2083d

Browse files
committed
comment doc cleanup
1 parent e77bb0c commit ee2083d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/main/java/com/fasterxml/jackson/core/io/UTF8Writer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ public void close()
6868

6969
out.close();
7070

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.
7473
int code = _surrogate;
7574
_surrogate = 0;
7675
if (code > 0) {

src/main/java/com/fasterxml/jackson/core/json/WriterBasedJsonGenerator.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
public class WriterBasedJsonGenerator
1818
extends JsonGeneratorImpl
1919
{
20-
final protected static int SHORT_WRITE = 32;
20+
protected final static int SHORT_WRITE = 32;
2121

22-
final protected static char[] HEX_CHARS = CharTypes.copyHexChars();
22+
protected final static char[] HEX_CHARS = CharTypes.copyHexChars();
2323

2424
/*
2525
/**********************************************************
2626
/* Configuration
2727
/**********************************************************
2828
*/
2929

30-
final protected Writer _writer;
30+
protected final Writer _writer;
3131

3232
/**
3333
* Character used for quoting JSON Object property names
@@ -979,9 +979,7 @@ public void close() throws IOException
979979
{
980980
super.close();
981981

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
985983
// First: let's see that we still have buffers...
986984
if (_outputBuffer != null
987985
&& isEnabled(Feature.AUTO_CLOSE_JSON_CONTENT)) {

0 commit comments

Comments
 (0)