summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDushyant Singh Thakur <dt00503496@techmahindra.com>2018-03-28 17:03:47 +0530
committerDushyant Singh Thakur <dt00503496@techmahindra.com>2018-03-28 17:03:47 +0530
commita2d54b81bc62750438d14416e19d2ce2e05295eb (patch)
tree54890b19947fe72a679d5dea0963789a3f2926dd /src
parent460b2066308869e50f7b5320726780676d0d1f05 (diff)
sonar critical for errorhandling
Cast one of the operands of this multiplication operation to a long Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VaiX32hFUzlqc5u2&resolved=false&severities=CRITICAL&types=BUG Location: src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java Line No-51 Change-Id: I6b19e69e3fe6abf8287f94bbb88cdb99f5f1307e Issue-ID: DMAAP-364 Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java b/src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java
index 709d035..733daf7 100644
--- a/src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java
+++ b/src/main/java/com/att/nsa/cambria/security/DMaaPAuthenticatorImpl.java
@@ -48,7 +48,7 @@ public class DMaaPAuthenticatorImpl<K extends NsaApiKey> implements DMaaPAuthent
// Setting timeout to a large value for testing purpose.
// private static final long kDefaultRequestTimeWindow = 1000 * 60 * 10; //
// 10 minutes
- private static final long kDefaultRequestTimeWindow = 1000 * 60 * 10 * 10 * 10 * 10 * 10;
+ private static final long kDefaultRequestTimeWindow = (long)1000 * 60 * 10 * 10 * 10 * 10 * 10;
/**
* Construct the security manager against an API key database