You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/10/20 15:46:38 UTC
[10/50] [abbrv] git commit: Fixes bug with lifecycle manager cache
lazy loading
Fixes bug with lifecycle manager cache lazy loading
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/9da529b9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/9da529b9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/9da529b9
Branch: refs/heads/two-dot-o-events
Commit: 9da529b98dfa7c7996bdcfe2623732cb823d3907
Parents: ce2db8a
Author: Todd Nine <to...@apache.org>
Authored: Thu Oct 16 09:50:15 2014 -0600
Committer: Todd Nine <to...@apache.org>
Committed: Thu Oct 16 09:50:15 2014 -0600
----------------------------------------------------------------------
.../usergrid/corepersistence/CpEntityManagerFactory.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/9da529b9/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
index 4d296ba..2abe83f 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
@@ -641,15 +641,15 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
private List<EntityIndex> getManagementIndexes() {
return Arrays.asList(
- managerCache.getEntityIndex( new ApplicationScopeImpl(
+ getManagerCache().getEntityIndex( new ApplicationScopeImpl(
new SimpleId( SYSTEM_APP_ID, "application" ) ) ),
// default app
- managerCache.getEntityIndex( new ApplicationScopeImpl(
+ getManagerCache().getEntityIndex( new ApplicationScopeImpl(
new SimpleId( getManagementAppId(), "application" ) ) ),
// management app
- managerCache.getEntityIndex( new ApplicationScopeImpl(
+ getManagerCache().getEntityIndex( new ApplicationScopeImpl(
new SimpleId( getDefaultAppId(), "application" ) ) ) );
}