Author: epbernard
Date: 2007-09-23 16:42:51 -0400 (Sun, 23 Sep 2007)
New Revision: 14023
Modified:
search/trunk/src/java/org/hibernate/search/FullTextQuery.java
search/trunk/src/java/org/hibernate/search/query/FullTextQueryImpl.java
Log:
HSEARCH-122 remove dead code
Modified: search/trunk/src/java/org/hibernate/search/FullTextQuery.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/FullTextQuery.java 2007-09-23 20:18:24 UTC
(rev 14022)
+++ search/trunk/src/java/org/hibernate/search/FullTextQuery.java 2007-09-23 20:42:51 UTC
(rev 14023)
@@ -67,12 +67,6 @@
FullTextQuery setProjection(String... fields);
/**
- * Will be removed in the near future
- * @deprecated Use #setProjection
- */
- FullTextQuery setIndexProjection(String... fields);
-
- /**
* Enable a given filter by its name. Returns a FullTextFilter object that allows filter
parameter injection
*/
FullTextFilter enableFullTextFilter(String name);
Modified: search/trunk/src/java/org/hibernate/search/query/FullTextQueryImpl.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/query/FullTextQueryImpl.java 2007-09-23
20:18:24 UTC (rev 14022)
+++ search/trunk/src/java/org/hibernate/search/query/FullTextQueryImpl.java 2007-09-23
20:42:51 UTC (rev 14023)
@@ -505,10 +505,6 @@
return this;
}
- public FullTextQuery setIndexProjection(String... fields) {
- return setProjection( fields );
- }
-
public FullTextQuery setFirstResult(int firstResult) {
if (firstResult < 0) {
throw new IllegalArgumentException("'first' pagination parameter less
than 0");