diff --git a/lucene/core/src/java/org/apache/lucene/document/StringField.java b/lucene/core/src/java/org/apache/lucene/document/StringField.java index 0629c7dd03b..372b34b4ace 100644 --- a/lucene/core/src/java/org/apache/lucene/document/StringField.java +++ b/lucene/core/src/java/org/apache/lucene/document/StringField.java @@ -54,9 +54,4 @@ public final class StringField extends Field { public StringField(String name, String value, Store stored) { super(name, value, stored == Store.YES ? TYPE_STORED : TYPE_NOT_STORED); } - - @Override - public String stringValue() { - return (fieldsData == null) ? null : fieldsData.toString(); - } }