You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/10/10 00:36:17 UTC

git commit: change to string to gettype

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o a336b6b40 -> f3a7a4cf6


change to string to gettype


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

Branch: refs/heads/two-dot-o
Commit: f3a7a4cf6cff0d0518993f5f55fc22429113b6b0
Parents: a336b6b
Author: Shawn Feldman <sf...@apache.org>
Authored: Thu Oct 9 16:35:59 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Thu Oct 9 16:35:59 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/f3a7a4cf/stack/core/src/main/java/org/apache/usergrid/corepersistence/results/EntityVerifier.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/results/EntityVerifier.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/results/EntityVerifier.java
index 40cf499..958cebe 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/results/EntityVerifier.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/results/EntityVerifier.java
@@ -130,7 +130,7 @@ public class EntityVerifier implements ResultsVerifier {
         for ( final Id id : ids ) {
             final org.apache.usergrid.persistence.model.entity.Entity cpEntity = entityMapping.get( id );
 
-            Entity entity = EntityFactory.newEntity( id.getUuid(), id.toString() );
+            Entity entity = EntityFactory.newEntity( id.getUuid(), id.getType() );
 
             Map<String, Object> entityMap = CpEntityMapUtils.toMap( cpEntity );
             entity.addProperties( entityMap );