usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [27/50] incubator-usergrid git commit: call create with simple id
Date Mon, 13 Apr 2015 17:45:52 GMT
call create with simple id


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/3be95f98
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/3be95f98
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/3be95f98

Branch: refs/heads/USERGRID-536
Commit: 3be95f98d944ca87824f9d20915d544797987f08
Parents: 3ae2cbf
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Mon Apr 6 18:22:18 2015 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Mon Apr 6 18:22:18 2015 -0600

----------------------------------------------------------------------
 .../apache/usergrid/corepersistence/CpEntityManagerFactory.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/3be95f98/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 f48f6e9..1be844d 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
@@ -275,7 +275,7 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
 
         Entity appInfo;
         try {
-            appInfo = managementEm.create(applicationId,CpNamingUtils.APPLICATION_INFO, appInfoMap);
+            appInfo = managementEm.create(new SimpleId(applicationId,CpNamingUtils.APPLICATION_INFO),
appInfoMap);
         } catch (DuplicateUniquePropertyExistsException e) {
             throw new ApplicationAlreadyExistsException(appName);
         }


Mime
View raw message