From 60deff559fac04a7b398e139977a9569feb2319c Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 3 Aug 2012 20:53:53 +0000 Subject: [PATCH] remove dead code (same as superclass impl) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369205 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/document/StringField.java | 5 ----- 1 file changed, 5 deletions(-) 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(); - } }