We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 571170d commit 4eff590Copy full SHA for 4eff590
yaml/src/main/java/com/fasterxml/jackson/dataformat/yaml/YAMLGenerator.java
@@ -455,17 +455,6 @@ public void writeFieldId(long id) throws IOException {
455
_writeScalar(idStr, "int", STYLE_SCALAR);
456
}
457
458
- @Override
459
- public final void writeStringField(String fieldName, String value)
460
- throws IOException
461
- {
462
- if (_writeContext.writeFieldName(fieldName) == JsonWriteContext.STATUS_EXPECT_VALUE) {
463
- _reportError("Can not write a field name, expecting a value");
464
- }
465
- _writeFieldName(fieldName);
466
- writeString(value);
467
468
-
469
private final void _writeFieldName(String name) throws IOException
470
{
471
_writeScalar(name, "string",
0 commit comments