summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandan Ghosh <cghosh12@in.ibm.com>2019-01-23 14:59:14 +0530
committerChandan Ghosh <cghosh12@in.ibm.com>2019-01-23 14:59:20 +0530
commitacbb653362d73d17bf88127feddf2ad245e14527 (patch)
tree7be97d7ab6d5ded395e8b55b88e4feb501d4df98
parentdc2f42a535e75642cd98f349808bd5c9aef6f488 (diff)
Parse to long reported in sonar
Parse to long. Reported in sonar Issue-ID: MSB-312 Change-Id: Ife6e4926fa5a89f187430848eb96ee8ad278b9cc Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
-rw-r--r--src/main/java/org/onap/msb/sdk/httpclient/conf/HttpClientConf.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/onap/msb/sdk/httpclient/conf/HttpClientConf.java b/src/main/java/org/onap/msb/sdk/httpclient/conf/HttpClientConf.java
index 3e6b491..d2ddece 100644
--- a/src/main/java/org/onap/msb/sdk/httpclient/conf/HttpClientConf.java
+++ b/src/main/java/org/onap/msb/sdk/httpclient/conf/HttpClientConf.java
@@ -21,13 +21,13 @@ import com.fasterxml.jackson.annotation.JsonProperty;
public class HttpClientConf {
@JsonProperty
- private long readTimeout = 180 * 1000;
+ private long readTimeout = Long.valueOf(180 * 1000);
@JsonProperty
- private long connectTimeout = 20 * 1000;
+ private long connectTimeout = Long.valueOf(20 * 1000);
@JsonProperty
- private long writeTimeout = 10 * 1000;
+ private long writeTimeout = Long.valueOf(10 * 1000);
public long getReadTimeout() {