From ba6bb29e3b7bb6ab520c0d56ef8202fbbf6ae395 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Fri, 17 Sep 2004 19:24:14 +0000 Subject: [PATCH] use the same amount of whitespace everywhere, no functional change git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150522 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/search/PhrasePrefixQuery.java | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java index c2d81e346be..66c08c90c40 100644 --- a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java +++ b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java @@ -66,11 +66,11 @@ public class PhrasePrefixQuery extends Query { * @see PhraseQuery#add(Term) */ public void add(Term[] terms) { - int position = 0; - if(positions.size() > 0) - position = ((Integer) positions.lastElement()).intValue() + 1; - - add(terms, position); + int position = 0; + if (positions.size() > 0) + position = ((Integer) positions.lastElement()).intValue() + 1; + + add(terms, position); } /** @@ -81,29 +81,29 @@ public class PhrasePrefixQuery extends Query { * @param position */ public void add(Term[] terms, int position) { - if (termArrays.size() == 0) - field = terms[0].field(); - - for (int i=0; i