Skip to content

Commit

Permalink
Remove unnecessary method override
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 5, 2019
1 parent 571170d commit 4eff590
Showing 1 changed file with 0 additions and 11 deletions.
Expand Up @@ -455,17 +455,6 @@ public void writeFieldId(long id) throws IOException {
_writeScalar(idStr, "int", STYLE_SCALAR);
}

@Override
public final void writeStringField(String fieldName, String value)
throws IOException
{
if (_writeContext.writeFieldName(fieldName) == JsonWriteContext.STATUS_EXPECT_VALUE) {
_reportError("Can not write a field name, expecting a value");
}
_writeFieldName(fieldName);
writeString(value);
}

private final void _writeFieldName(String name) throws IOException
{
_writeScalar(name, "string",
Expand Down

0 comments on commit 4eff590

Please sign in to comment.