fix javadocs

This commit is contained in:
Mike McCandless 2016-08-02 05:09:44 -04:00
parent 5b9e6b3f8b
commit 5ace3b4306
1 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ public class Field implements IndexableField {
/** /**
* The value of the field as a String, or null. If null, the Reader value or * The value of the field as a String, or null. If null, the Reader value or
* binary value is used. Exactly one of stringValue(), readerValue(), and * binary value is used. Exactly one of stringValue(), readerValue(), and
* getBinaryValue() must be set. * binaryValue() must be set.
*/ */
@Override @Override
public String stringValue() { public String stringValue() {
@ -271,7 +271,7 @@ public class Field implements IndexableField {
/** /**
* The value of the field as a Reader, or null. If null, the String value or * The value of the field as a Reader, or null. If null, the String value or
* binary value is used. Exactly one of stringValue(), readerValue(), and * binary value is used. Exactly one of stringValue(), readerValue(), and
* getBinaryValue() must be set. * binaryValue() must be set.
*/ */
@Override @Override
public Reader readerValue() { public Reader readerValue() {
@ -420,7 +420,7 @@ public class Field implements IndexableField {
/** /**
* Expert: sets the token stream to be used for indexing and causes * Expert: sets the token stream to be used for indexing and causes
* isIndexed() and isTokenized() to return true. May be combined with stored * isIndexed() and isTokenized() to return true. May be combined with stored
* values from stringValue() or getBinaryValue() * values from stringValue() or binaryValue()
*/ */
public void setTokenStream(TokenStream tokenStream) { public void setTokenStream(TokenStream tokenStream) {
if (type.indexOptions() == IndexOptions.NONE || !type.tokenized()) { if (type.indexOptions() == IndexOptions.NONE || !type.tokenized()) {