lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/document Field.java
Date Wed, 01 Sep 2004 20:34:44 GMT
dnaber      2004/09/01 13:34:44

  Modified:    src/java/org/apache/lucene/document Field.java
  Log:
  replace tabs by spaces, no functional change
  
  Revision  Changes    Path
  1.21      +28 -28    jakarta-lucene/src/java/org/apache/lucene/document/Field.java
  
  Index: Field.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/Field.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Field.java	1 Sep 2004 20:33:33 -0000	1.20
  +++ Field.java	1 Sep 2004 20:34:44 -0000	1.21
  @@ -392,34 +392,34 @@
   
     /** 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();
     }
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message