You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by gr...@apache.org on 2015/02/26 19:19:09 UTC

[36/50] [abbrv] incubator-usergrid git commit: fix compile issue

fix compile issue


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

Branch: refs/heads/USERGRID-280
Commit: 7e1509e1abc7c3abe745cedb419349a709b95c34
Parents: b5550df
Author: Shawn Feldman <sf...@apache.org>
Authored: Wed Feb 25 13:10:41 2015 -0700
Committer: Shawn Feldman <sf...@apache.org>
Committed: Wed Feb 25 13:10:41 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7e1509e1/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java b/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
index e6ada31..c02e171 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
@@ -116,7 +116,7 @@ public class PartialUpdateTest extends AbstractRestIT {
         updateProps.put("employer", "ACME Corporation");
 
         try { //  PUT /users/fred   put /users/uuid
-            userNode = this.app().collection("users").entity(props.getString("username")).put(updateProps);
+            userNode = this.app().collection("users").entity(props.get("username").toString()).put(updateProps);
 
         } catch (UniformInterfaceException uie) {
             fail("Update failed due to: " + uie.getResponse().getEntity(String.class));