Author: sannegrinovero
Date: 2008-09-22 04:05:59 -0400 (Mon, 22 Sep 2008)
New Revision: 15211
Modified:
search/trunk/src/java/org/hibernate/search/annotations/ProvidedId.java
search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
search/trunk/src/java/org/hibernate/search/engine/MultiClassesQueryLoader.java
search/trunk/src/java/org/hibernate/search/util/ScopedAnalyzer.java
Log:
typos and import cleanup
Modified: search/trunk/src/java/org/hibernate/search/annotations/ProvidedId.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/annotations/ProvidedId.java 2008-09-17
16:44:23 UTC (rev 15210)
+++ search/trunk/src/java/org/hibernate/search/annotations/ProvidedId.java 2008-09-22
08:05:59 UTC (rev 15211)
@@ -7,10 +7,6 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import org.hibernate.search.bridge.StringBridge;
-import org.hibernate.search.bridge.TwoWayFieldBridge;
-import org.hibernate.search.bridge.TwoWayString2FieldBridgeAdaptor;
-
/**
* Objects whose identifier is provided externally and not part of the object state
* should be marked with this annotation
@@ -27,4 +23,5 @@
String name() default "providedId";
FieldBridge bridge() default @FieldBridge(impl =
org.hibernate.search.bridge.builtin.StringBridge.class);
+
}
Modified: search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2008-09-17
16:44:23 UTC (rev 15210)
+++ search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2008-09-22
08:05:59 UTC (rev 15211)
@@ -49,7 +49,6 @@
import org.hibernate.search.bridge.LuceneOptions;
import org.hibernate.search.bridge.TwoWayFieldBridge;
import org.hibernate.search.bridge.TwoWayString2FieldBridgeAdaptor;
-import org.hibernate.search.bridge.builtin.StringBridge;
import org.hibernate.search.impl.InitContext;
import org.hibernate.search.store.DirectoryProvider;
import org.hibernate.search.store.IndexShardingStrategy;
Modified: search/trunk/src/java/org/hibernate/search/engine/MultiClassesQueryLoader.java
===================================================================
---
search/trunk/src/java/org/hibernate/search/engine/MultiClassesQueryLoader.java 2008-09-17
16:44:23 UTC (rev 15210)
+++
search/trunk/src/java/org/hibernate/search/engine/MultiClassesQueryLoader.java 2008-09-22
08:05:59 UTC (rev 15211)
@@ -33,7 +33,7 @@
public void setEntityTypes(Class[] entityTypes) {
List<Class> safeEntityTypes;
//TODO should we go find the root entity for a given class rather than just checking
for it's root status?
- // root entity could lead to quite inefficient queries in Hibnernate when using
table per class
+ // root entity could lead to quite inefficient queries in Hibernate when using
table per class
if ( entityTypes.length == 0 ) {
//support all classes
safeEntityTypes = new ArrayList<Class>();
Modified: search/trunk/src/java/org/hibernate/search/util/ScopedAnalyzer.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/util/ScopedAnalyzer.java 2008-09-17
16:44:23 UTC (rev 15210)
+++ search/trunk/src/java/org/hibernate/search/util/ScopedAnalyzer.java 2008-09-22
08:05:59 UTC (rev 15211)
@@ -11,7 +11,7 @@
/**
* A <code>ScopedAnalyzer</code> is a wrapper class containing all analyzers
for a given class.
* <code>ScopedAnalyzer</code> behaves similar to
<code>PerFieldAnalyzerWrapper</code> by delegating requests for
- * <code>TokenStream</code>s to the underlying
<code>Analyzer</code> depending on the requested the field name.
+ * <code>TokenStream</code>s to the underlying
<code>Analyzer</code> depending on the requested field name.
*
* @author Emmanuel Bernard
*/
Show replies by date