Author: sannegrinovero
Date: 2009-02-01 08:27:58 -0500 (Sun, 01 Feb 2009)
New Revision: 15844
Modified:
search/trunk/src/java/org/hibernate/search/Environment.java
search/trunk/src/test/org/hibernate/search/test/SearchTestCase.java
search/trunk/src/test/org/hibernate/search/test/configuration/ConfigurationReadTestCase.java
search/trunk/src/test/org/hibernate/search/test/query/Person.java
search/trunk/src/test/org/hibernate/search/test/query/ScrollableResultsTest.java
search/trunk/src/test/org/hibernate/search/test/util/FullTextSessionBuilder.java
Log:
missing keywords, unused imports cleanup, javadoc typos.
Modified: search/trunk/src/java/org/hibernate/search/Environment.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/Environment.java 2009-02-01 13:22:19 UTC
(rev 15843)
+++ search/trunk/src/java/org/hibernate/search/Environment.java 2009-02-01 13:27:58 UTC
(rev 15844)
@@ -69,7 +69,7 @@
public static final String FILTER_CACHING_STRATEGY =
"hibernate.search.filter.cache_strategy";
/**
- * number of docidresults cached in hard referemnce.
+ * number of docidresults cached in hard reference.
*/
public static final String CACHE_DOCIDRESULTS_SIZE =
"hibernate.search.filter.cache_docidresults.size";
}
Modified: search/trunk/src/test/org/hibernate/search/test/SearchTestCase.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/SearchTestCase.java 2009-02-01
13:22:19 UTC (rev 15843)
+++ search/trunk/src/test/org/hibernate/search/test/SearchTestCase.java 2009-02-01
13:27:58 UTC (rev 15844)
@@ -14,14 +14,10 @@
import org.hibernate.search.FullTextSession;
import org.hibernate.search.Search;
import org.hibernate.search.annotations.Indexed;
-import org.hibernate.search.test.inheritance.Animal;
-import org.hibernate.search.test.inheritance.Mammal;
import org.hibernate.search.event.FullTextIndexEventListener;
import org.hibernate.search.store.RAMDirectoryProvider;
-import org.hibernate.search.store.FSDirectoryProvider;
import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
* Base class for Hibernate Search unit tests.
Modified:
search/trunk/src/test/org/hibernate/search/test/configuration/ConfigurationReadTestCase.java
===================================================================
---
search/trunk/src/test/org/hibernate/search/test/configuration/ConfigurationReadTestCase.java 2009-02-01
13:22:19 UTC (rev 15843)
+++
search/trunk/src/test/org/hibernate/search/test/configuration/ConfigurationReadTestCase.java 2009-02-01
13:27:58 UTC (rev 15844)
@@ -101,7 +101,7 @@
configuration.buildSessionFactory();
fail();
} catch (HibernateException e) {
- //thrown exceptions means the test is ok when cause by a SearchException
+ //thrown exceptions means the test is ok when caused by a SearchException
Throwable cause = e.getCause();
assertTrue( cause instanceof SearchException );
}
Modified: search/trunk/src/test/org/hibernate/search/test/query/Person.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/query/Person.java 2009-02-01 13:22:19
UTC (rev 15843)
+++ search/trunk/src/test/org/hibernate/search/test/query/Person.java 2009-02-01 13:27:58
UTC (rev 15844)
@@ -5,12 +5,6 @@
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
-import org.hibernate.search.annotations.DocumentId;
-import org.hibernate.search.annotations.Field;
-import org.hibernate.search.annotations.Index;
-import org.hibernate.search.annotations.Indexed;
-import org.hibernate.search.annotations.Store;
-
/**
* @author Emmanuel Bernard
*/
Modified:
search/trunk/src/test/org/hibernate/search/test/query/ScrollableResultsTest.java
===================================================================
---
search/trunk/src/test/org/hibernate/search/test/query/ScrollableResultsTest.java 2009-02-01
13:22:19 UTC (rev 15843)
+++
search/trunk/src/test/org/hibernate/search/test/query/ScrollableResultsTest.java 2009-02-01
13:27:58 UTC (rev 15844)
@@ -1,4 +1,4 @@
-//$Id
+// $Id$
package org.hibernate.search.test.query;
import org.apache.lucene.index.Term;
Modified:
search/trunk/src/test/org/hibernate/search/test/util/FullTextSessionBuilder.java
===================================================================
---
search/trunk/src/test/org/hibernate/search/test/util/FullTextSessionBuilder.java 2009-02-01
13:22:19 UTC (rev 15843)
+++
search/trunk/src/test/org/hibernate/search/test/util/FullTextSessionBuilder.java 2009-02-01
13:27:58 UTC (rev 15844)
@@ -1,4 +1,4 @@
-//$Id
+// $Id$
package org.hibernate.search.test.util;
import org.apache.lucene.analysis.StopAnalyzer;
Show replies by date