Author: epbernard
Date: 2010-05-28 19:41:39 -0400 (Fri, 28 May 2010)
New Revision: 19631
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/query/dsl/v2/impl/ConnectedMultiFieldsPhraseQueryBuilder.java
Log:
HSEARCH-414 Remove no longer needed TODO
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/query/dsl/v2/impl/ConnectedMultiFieldsPhraseQueryBuilder.java
===================================================================
---
search/trunk/hibernate-search/src/main/java/org/hibernate/search/query/dsl/v2/impl/ConnectedMultiFieldsPhraseQueryBuilder.java 2010-05-28
16:54:22 UTC (rev 19630)
+++
search/trunk/hibernate-search/src/main/java/org/hibernate/search/query/dsl/v2/impl/ConnectedMultiFieldsPhraseQueryBuilder.java 2010-05-28
23:41:39 UTC (rev 19631)
@@ -123,7 +123,6 @@
if ( size == 0 ) {
throw new SearchException( "phrase query returns no term. Is there a problem with
your analyzers? " + sentence);
}
- //TODO
if ( size == 1 ) {
final List<Term> terms = termsPerPosition.values().iterator().next();
if ( terms.size() == 1 ) {