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 2014/12/04 21:02:23 UTC

incubator-usergrid git commit: Cleanup for classes

Repository: incubator-usergrid
Updated Branches:
  refs/heads/USERGRID-256-ApiResponseImplementation 07f2ebb16 -> 730683447


Cleanup for classes


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

Branch: refs/heads/USERGRID-256-ApiResponseImplementation
Commit: 730683447a2d1ef395d40bc2afc97654256b52b3
Parents: 07f2ebb
Author: grey <gr...@apigee.com>
Authored: Thu Dec 4 12:02:21 2014 -0800
Committer: grey <gr...@apigee.com>
Committed: Thu Dec 4 12:02:21 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/usergrid/rest/ApiResponse.java     |  2 +-
 .../rest/test/resource/app/GroupsCollection.java       | 13 +------------
 2 files changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/73068344/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java b/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
index f61bc8a..3df3df4 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
@@ -330,7 +330,7 @@ public class ApiResponse {
 
 
     /** Set the application and organization information */
-    public void setApplication( Application app) {
+    public void setApplication( Application app ) {
         this.organization = app.getOrganizationName();
         this.applicationName = app.getApplicationName();
         this.application = app.getUuid();

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/73068344/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/app/GroupsCollection.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/app/GroupsCollection.java b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/app/GroupsCollection.java
index 8240406..fcc1ec3 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/app/GroupsCollection.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/app/GroupsCollection.java
@@ -56,18 +56,7 @@ public class GroupsCollection extends CollectionResource {
 
         return getEntity( response, 0 );
     }
-
-    //example of what a call could look like
-//    public ApiResponseCollection<Group> getResource() throws IOException {
-//        //create new ApiResponseCollection from ApiResponse then return to user for further processing.
-//        CollectionResource collectionResource = new CollectionResource( this.getName(),this.getParent() );
-//        ApiResponseCollection<Group> collectionRevisedApiResponse = new ApiResponseCollection(collectionResource,this.getResponse() );
-//        return collectionRevisedApiResponse;
-//    }
-
-
-
-
+    
     public Me me() {
         return new Me( this );
     }