Author: hardy.ferentschik
Date: 2010-05-03 12:14:35 -0400 (Mon, 03 May 2010)
New Revision: 19354
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/DocumentBuilderContainedEntity.java
Log:
HSEARCH-333 removed logging
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/DocumentBuilderContainedEntity.java
===================================================================
---
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/DocumentBuilderContainedEntity.java 2010-05-03
15:46:50 UTC (rev 19353)
+++
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/DocumentBuilderContainedEntity.java 2010-05-03
16:14:35 UTC (rev 19354)
@@ -425,13 +425,9 @@
}
protected void checkDocumentId(XProperty member, PropertiesMetadata propertiesMetadata,
boolean isRoot, String prefix, InitContext context) {
- Annotation documentIdAnn = member.getAnnotation( DocumentId.class );
- if ( documentIdAnn != null ) {
- //FIXME commented until HSEARCH-333 is resolved
-// log.warn(
-// "@DocumentId specified on an entity which is not indexed by itself.
Annotation gets ignored. Use @Field instead."
-// );
- }
+ // TODO - HSEARCH-333
+ // for a contained entity there is nothing to do here. This is really bad design since
this protected method is called by the constructor and
+ // overridden by DocumentBuilderIndexedEntity
}
/**