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/08/21 16:10:05 UTC

[9/9] git commit: fix compilation with android sdk

fix compilation with android sdk


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

Branch: refs/heads/master
Commit: 0d766523ca59b32268101f11923623369dfb9dc4
Parents: 43d8b1b
Author: Shawn Feldman <sf...@apache.org>
Authored: Thu Aug 21 08:09:39 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Thu Aug 21 08:09:39 2014 -0600

----------------------------------------------------------------------
 .../main/java/org/apache/usergrid/android/client/Client.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/0d766523/sdks/android/src/main/java/org/apache/usergrid/android/client/Client.java
----------------------------------------------------------------------
diff --git a/sdks/android/src/main/java/org/apache/usergrid/android/client/Client.java b/sdks/android/src/main/java/org/apache/usergrid/android/client/Client.java
index 764b1ac..c2e874a 100644
--- a/sdks/android/src/main/java/org/apache/usergrid/android/client/Client.java
+++ b/sdks/android/src/main/java/org/apache/usergrid/android/client/Client.java
@@ -73,28 +73,28 @@ public class Client extends org.usergrid.java.client.Client {
 	 * @see apiRequest 
 	 * @see doHttpRequest
 	 */
-	protected static final String HTTP_METHOD_DELETE = "DELETE";
+	protected static final HttpMethod HTTP_METHOD_DELETE = HttpMethod.DELETE;
 
 	/**
 	 * Standard HTTP methods use in generic request methods
 	 * @see apiRequest 
 	 * @see doHttpRequest
 	 */
-	protected static final String HTTP_METHOD_GET    = "GET";
+	protected static final HttpMethod HTTP_METHOD_GET    = HttpMethod.GET;
 
 	/**
 	 * Standard HTTP methods use in generic request methods
 	 * @see apiRequest 
 	 * @see doHttpRequest
 	 */
-	protected static final String HTTP_METHOD_POST   = "POST";
+	protected static final HttpMethod HTTP_METHOD_POST   = HttpMethod.POST;
 
 	/**
 	 * Standard HTTP methods use in generic request methods
 	 * @see apiRequest 
 	 * @see doHttpRequest
 	 */
-	protected static final String HTTP_METHOD_PUT    = "PUT";
+	protected static final HttpMethod HTTP_METHOD_PUT    = HttpMethod.PUT;
 
 	private String organizationId;
   private String applicationId;