Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

more white space updates

  • Loading branch information...
commit 28fa22a76bc47a532f6e36b6cf8a456d60d434c1 1 parent c72d71f
Sidney Maestre authored

Showing 1 changed file with 6 additions and 5 deletions. Show diff stats Hide diff stats

  1. +6 5 java/src/main/java/com/stackmob/example/SendGrid.java
11 java/src/main/java/com/stackmob/example/SendGrid.java
@@ -96,17 +96,18 @@ public ResponseToProcess execute(ProcessedAPIRequest request, SDKServiceProvider
96 96 Object obj = parser.parse(request.getBody());
97 97 JSONObject jsonObject = (JSONObject) obj;
98 98 //We use the username passed to query the StackMob datastore
99   - // //and retrieve the user's name and email address
  99 + //and retrieve the user's name and email address
100 100 username = (String) jsonObject.get("username");
101   - // The following values could be static or dynamic
102   - subject = (String) jsonObject.get("subject");
  101 +
  102 + // The following values could be static or dynamic
  103 + subject = (String) jsonObject.get("subject");
103 104 text = (String) jsonObject.get("text");
104 105 from = (String) jsonObject.get("from");
105   - } catch (ParseException e) {
  106 + } catch (ParseException e) {
106 107 logger.error(e.getMessage(), e);
107 108 responseCode = -1;
108 109 responseBody = e.getMessage();
109   - }
  110 + }
110 111
111 112 if (username == null || username.isEmpty()) {
112 113 HashMap<String, String> errParams = new HashMap<String, String>();

0 comments on commit 28fa22a

Please sign in to comment.
Something went wrong with that request. Please try again.