Github user tnine commented on a diff in the pull request:
https://github.com/apache/incubator-usergrid/pull/120#discussion_r21706204
--- Diff:
stack/core/src/main/java/org/apache/usergrid/corepersistence/CpSetup.java ---
@@ -82,11 +78,9 @@ public CpSetup( EntityManagerFactory emf,
CassandraService cass ) {
}
-
-
public static Injector getInjector() {
if ( injector == null ) {
- injector = Guice.createInjector( new GuiceModule() );
+ injector = Guice.createInjector( new GuiceModule( emf ) );
--- End diff --
Do we need to do this here? This seems like it's creating a circular
dependency of the EMF into Guice, but the EMF depends on Guice.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---