Skip to content

Commit a47fa1c

Browse files
fix coveralls and remove system.out lines
1 parent cbf859e commit a47fa1c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@
210210
</profile>
211211
</profiles>
212212
<properties>
213+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
213214
<timestamp>${maven.build.timestamp}</timestamp>
214-
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
215+
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssa</maven.build.timestamp.format>
215216
</properties>
216217
<artifactId>java-wrapper</artifactId>
217218
<issueManagement>

src/main/java/com/ibm/watson/developer_cloud/tradeoff_analytics/v1/TradeoffAnalytics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public Dilemma dilemmas(final Problem problem,final Boolean generateVisualizatio
7777
try {
7878
HttpResponse response = execute(request.build());
7979
String dilemmaJson = ResponseUtil.getString(response);
80-
System.out.println(dilemmaJson);
80+
8181
Dilemma dilemma = GsonSingleton.getGson().fromJson(dilemmaJson, Dilemma.class);
8282
return dilemma;
8383
} catch (IOException e) {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ private void setupLogging() {
9292
java.util.logging.Logger.getLogger("org.apache.http.wire").setLevel(java.util.logging.Level.FINEST);
9393
java.util.logging.Logger.getLogger("org.apache.http.headers").setLevel(java.util.logging.Level.FINEST);
9494

95-
System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
96-
System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
97-
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");
98-
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http", "debug");
99-
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.impl.conn", "debug");
100-
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.impl.client", "debug");
95+
// System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
96+
// System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
97+
// System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");
98+
// System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http", "debug");
99+
// System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.impl.conn", "debug");
100+
// System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.impl.client", "debug");
101101
}
102102

103103
}

0 commit comments

Comments
 (0)