Author: epbernard
Date: 2007-03-16 00:46:58 -0400 (Fri, 16 Mar 2007)
New Revision: 11293
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/engine/DocumentBuilder.java
Log:
minor
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/engine/DocumentBuilder.java
===================================================================
---
trunk/HibernateExt/search/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-03-16
00:36:51 UTC (rev 11292)
+++
trunk/HibernateExt/search/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-03-16
04:46:58 UTC (rev 11293)
@@ -345,7 +345,7 @@
Class valueClass = Hibernate.getClass( arrayValue );
DocumentBuilder builder = searchFactory.getDocumentBuilders().get( valueClass );
if (builder == null) continue;
- processContainedInValue( arrayValue, member, queue, valueClass, builder,
searchFactory );
+ processContainedInValue( arrayValue, queue, valueClass, builder, searchFactory );
}
}
else if ( member.isCollection() ) {
@@ -362,21 +362,21 @@
Class valueClass = Hibernate.getClass( collectionValue );
DocumentBuilder builder = searchFactory.getDocumentBuilders().get( valueClass );
if (builder == null) continue;
- processContainedInValue( collectionValue, member, queue, valueClass, builder,
searchFactory );
+ processContainedInValue( collectionValue, queue, valueClass, builder, searchFactory
);
}
}
else {
Class valueClass = Hibernate.getClass( value );
DocumentBuilder builder = searchFactory.getDocumentBuilders().get( valueClass );
if (builder == null) continue;
- processContainedInValue( value, member, queue, valueClass, builder, searchFactory );
+ processContainedInValue( value, queue, valueClass, builder, searchFactory );
}
}
//an embedded cannot have a useful @ContainedIn (no shared reference)
//do not walk through them
}
- private void processContainedInValue(Object value, XMember member,
List<LuceneWork> queue, Class valueClass,
+ private void processContainedInValue(Object value, List<LuceneWork> queue, Class
valueClass,
DocumentBuilder builder, SearchFactory searchFactory) {
Serializable id = (Serializable) builder.getMemberValue( value, builder.idGetter );
builder.addWorkToQueue( value, id, WorkType.UPDATE, queue, searchFactory );