Skip to content

Commit

Permalink
Fix: Removed unwanted output when updating datastream.
Browse files Browse the repository at this point in the history
Bad behaviour was mentioned on http://code.google.com/p/jpachube/issues/detail?id=3 as issue #3
Fixed this bad behaviour by removing the line where the HttpRequest was send to the standard output
  • Loading branch information
Frederick Gaens committed May 3, 2012
1 parent 9d5029a commit 9d3791e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/pachube/jpachube/Pachube.java
Expand Up @@ -185,7 +185,6 @@ public HttpResponse updateDatastream(int feed, String datastream, String s) {
hr.setMethod(HttpMethod.PUT);
hr.addHeaderItem("X-PachubeApiKey", this.apiKey);
hr.setBody(s);
System.out.println(hr.getHttpCommand());
return client.send(hr);
}

Expand Down

0 comments on commit 9d3791e

Please sign in to comment.