Skip to content

Apache Lucene open-source search software

replace tabs by spaces, no functional change

Daniel Naber2316ebdf3b56
diff --git a/src/java/org/apache/lucene/document/Field.java b/src/java/org/apache/lucene/document/Field.java
index 1400ec42c96..b3a0aa21329 100644
--- a/src/java/org/apache/lucene/document/Field.java
+++ b/src/java/org/apache/lucene/document/Field.java
@@ -392,34 +392,34 @@ public final class Field implements java.io.Serializable {
/** Prints a Field for human consumption. */
public final String toString() {
- StringBuffer result = new StringBuffer();
- if (isStored)
- result.append("stored");
- if (isIndexed) {
- if (result.length() > 0)
- result.append(",");
- result.append("indexed");
- }
- if (isTokenized) {
- if (result.length() > 0)
- result.append(",");
- result.append("tokenized");
- }
- if (storeTermVector) {
- if (result.length() > 0)
- result.append(",");
- result.append("termVector");
- }
- result.append('<');
- result.append(name);
- result.append(':');
- if (readerValue != null) {
- result.append(readerValue.toString());
- } else {
- result.append(stringValue);
- }
- result.append('>');
- return result.toString();
+ StringBuffer result = new StringBuffer();
+ if (isStored)
+ result.append("stored");
+ if (isIndexed) {
+ if (result.length() > 0)
+ result.append(",");
+ result.append("indexed");
+ }
+ if (isTokenized) {
+ if (result.length() > 0)
+ result.append(",");
+ result.append("tokenized");
+ }
+ if (storeTermVector) {
+ if (result.length() > 0)
+ result.append(",");
+ result.append("termVector");
+ }
+ result.append('<');
+ result.append(name);
+ result.append(':');
+ if (readerValue != null) {
+ result.append(readerValue.toString());
+ } else {
+ result.append(stringValue);
+ }
+ result.append('>');
+ return result.toString();
}
}