Skip to content

Commit d480ea2

Browse files
[code formatting]
1 parent 38a8e02 commit d480ea2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/main/java/com/ibm/watson/developer_cloud/util/ResponseUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static <T extends GenericModel> T getObject(Response response, Class<T> t
109109
try {
110110
response.body().close();
111111
} catch (IOException e) {
112-
log.log(Level.SEVERE,"Error closing the HTTP Response", e);
112+
log.log(Level.SEVERE, "Error closing the HTTP Response", e);
113113
}
114114
}
115115
}
@@ -120,7 +120,7 @@ public static <T extends GenericModel> T getObject(Response response, Class<T> t
120120
*
121121
* @param response an HTTP response
122122
* @return the content body as String
123-
* */
123+
*/
124124
public static String getString(Response response) {
125125
try {
126126
return response.body().string();

src/test/java/com/ibm/watson/developer_cloud/WatsonServiceTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ public WatsonServiceTest() {
5252
setupLogging();
5353
}
5454

55-
protected Map<String,String> getDefaultHeaders() {
56-
Map<String,String> headers = new HashMap<String,String>();
55+
protected Map<String, String> getDefaultHeaders() {
56+
Map<String, String> headers = new HashMap<String, String>();
5757
headers.put(HttpHeaders.X_WATSON_LEARNING_OPT_OUT, String.valueOf(true));
5858
return headers;
5959
}
60+
6061
/**
6162
* The Class EmptyPropertyException.
6263
*/

0 commit comments

Comments
 (0)