HHH-7514 fixing compile error

This commit is contained in:
Strong Liu 2012-08-23 23:02:51 +08:00
parent fd8a45b2b2
commit 07d154fbf2
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
// for now, we also need to wrap this in a CompositeIndex until Jandex is updated to use a common interface
// between the 2...
return new CompositeIndex( indexer.complete() );
return CompositeIndex.create( indexer.complete() );
}
private void indexResource(String resourceName, Indexer indexer, BootstrapServiceRegistry bootstrapServiceRegistry) {