You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by ro...@apache.org on 2014/12/22 17:54:26 UTC

[20/50] incubator-usergrid git commit: change method name to subresource

change method name to subresource


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

Branch: refs/heads/two-dot-o
Commit: 0860910529d346bd1d77a797e92cade76b31a0f2
Parents: d26c721
Author: Shawn Feldman <sf...@apache.org>
Authored: Tue Dec 16 14:02:12 2014 -0700
Committer: Shawn Feldman <sf...@apache.org>
Committed: Tue Dec 16 14:02:12 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/08609105/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 42b3437..f7e04f8 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
@@ -66,7 +66,7 @@ public class Entity implements Serializable, Map<String,Object> {
      */
     public void save(){
         targetResource.put(this);
-        Entity entity = targetResource.getSubResource(this.getName()).get();
+        Entity entity = targetResource.getCollectionResource(this.getName()).get();
         this.dynamic_properties.putAll(entity.getDynamicProperties());
     }