Skip to content

Commit a81cb06

Browse files
committed
Fix a minor mismatch between input arg, buffer passed
1 parent f904c0a commit a81cb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ private void _writeLongString(char[] text, int offset, int len) throws IOExcepti
455455
_flushBuffer();
456456
}
457457
_outputBuffer[_outputTail++] = BYTE_QUOTE;
458-
_writeStringSegments(_charBuffer, 0, len);
458+
_writeStringSegments(text, 0, len);
459459
if (_outputTail >= _outputEnd) {
460460
_flushBuffer();
461461
}

0 commit comments

Comments
 (0)