From 73898067b8d30ac13188d6084d0c95662df6d72b Mon Sep 17 00:00:00 2001 From: kimchy Date: Tue, 28 Jun 2011 00:29:06 +0300 Subject: [PATCH] format --- .../search/vectorhighlight/CustomFieldQuery.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java b/modules/elasticsearch/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java index 82cc7bb5bbc..f18512fa6e0 100644 --- a/modules/elasticsearch/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java +++ b/modules/elasticsearch/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java @@ -105,11 +105,11 @@ public class CustomFieldQuery extends FieldQuery { flatten(((FilteredQuery) sourceQuery).getQuery(), flatQueries); flatten(((FilteredQuery) sourceQuery).getFilter(), flatQueries); } else if (sourceQuery instanceof MultiPhrasePrefixQuery) { - try { - flatten(sourceQuery.rewrite(reader.get()), flatQueries); - } catch (IOException e) { - // ignore - } + try { + flatten(sourceQuery.rewrite(reader.get()), flatQueries); + } catch (IOException e) { + // ignore + } } else { super.flatten(sourceQuery, flatQueries); }