diff options
author | 2018-02-08 17:34:04 +0530 | |
---|---|---|
committer | 2018-02-08 17:34:04 +0530 | |
commit | b814d113be0ea00b9a1fcb845bb79c96e720135a (patch) | |
tree | 36c026eba41dd1351949e9eb8a7cedc7416c2e05 /src/main/java/com/att/nsa/cambria | |
parent | 267b2cfa122f9880df6f275ad411854aa805da56 (diff) |
sonar critical for bugs,security test
Cast one of the operands of this multiplication operation to a long
Sonar Link:
https://sonar.onap.org/component_issues?id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr#resolved=false|severities=CRITICAL|assignees=dthakur
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-85
Change-Id: I6ac2090b8c14eda1dcaffc055d4c44e07277ff63
Issue-ID: DMAAP-279
Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att/nsa/cambria')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java index 5f38443..ceb16c6 100644 --- a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java +++ b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java @@ -82,7 +82,7 @@ public class KafkaConsumerCache { // the server at least every 30 seconds, timing out after 2 minutes should // be okay. // FIXME: consider allowing the client to specify its expected call rate? - private static final long kDefault_MustTouchEveryMs = 1000 * 60 * 2; + private static final long kDefault_MustTouchEveryMs = (long)1000 * 60 * 2; // check for expirations pretty regularly private static final long kDefault_SweepEverySeconds = 15; |