Author: hardy.ferentschik
Date: 2008-11-19 12:16:14 -0500 (Wed, 19 Nov 2008)
New Revision: 15596
Modified:
search/trunk/src/java/org/hibernate/search/impl/SearchFactoryImpl.java
Log:
HSEARCH-160
added barrier to getIndexedTypesPolymorphic
Modified: search/trunk/src/java/org/hibernate/search/impl/SearchFactoryImpl.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/impl/SearchFactoryImpl.java 2008-11-19
16:50:17 UTC (rev 15595)
+++ search/trunk/src/java/org/hibernate/search/impl/SearchFactoryImpl.java 2008-11-19
17:16:14 UTC (rev 15596)
@@ -497,6 +497,8 @@
}
public Set<Class<?>> getIndexedTypesPolymorphic(Class<?>[] classes) {
+ if ( barrier != 0 ) {
+ } //read barrier
return indexHierarchy.getIndexedClasses( classes );
}
Show replies by date