usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [08/17] incubator-usergrid git commit: fix casting
Date Mon, 05 Jan 2015 19:36:01 GMT
fix casting


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

Branch: refs/heads/two-dot-o
Commit: 3864d59783dbfa0a15f49a054fd7f9796014fbd1
Parents: a098726
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Tue Dec 23 16:09:17 2014 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Tue Dec 23 16:09:17 2014 -0700

----------------------------------------------------------------------
 .../apache/usergrid/rest/test/resource2point0/model/Entity.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/3864d597/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
index c614279..714cb25 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
@@ -167,7 +167,7 @@ public class Entity implements Serializable, Map<String,Object>
{
     }
 
     public UUID getUuid(){
-        return (UUID)get("uuid");
+        return UUID.fromString((String) get("uuid"));
     }
 
     public Entity chainPut(final String key, final Object value){


Mime
View raw message