Commits

Steve Lancashire committed ecb19b0

CONFDEV-10902 formatting only

Comments (0)

Files changed (1)

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

         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);
         }
     }