1. Rich Manalang
  2. Hipchat for Confluence

Commits

Steve Lancashire [Atlassian]  committed ecb19b0

CONFDEV-10902 formatting only

  • Participants
  • Parent commits e77dd47
  • Branches master

Comments (0)

Files changed (1)

File src/main/java/com/atlassian/labs/hipchat/components/HipChatProxyClient.java

View file
  • Ignore whitespace
         final String urlWithAuthToken = url.contains("?") ? url + "&auth_token=" + authToken : url + "?auth_token=" + authToken;
         final Request<?, Response> request = requestFactory.createRequest(Request.MethodType.GET, urlWithAuthToken);
         request.setConnectionTimeout(CONNECTION_TIMEOUT_MILLIS);
-        try
-        {
+        try {
             return new JSONString(request.executeAndReturn(new ResponseBodyReturningHandler()));
         }
-        catch(ResponseException ex)
-        {
+        catch(ResponseException ex) {
             throw new WebApplicationException(ex, 500);
         }
     }