summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-04-09 23:31:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-09 23:31:31 +0000
commit5b088ab5fab5dc7c475f3e30b3b0df1535b67564 (patch)
tree96df3f54a59ffcef7c4e9bdf1654251d0969ae91 /src/main/java
parent2bacb9af85517e876a8938a1174d16c8d6ff4901 (diff)
parentc3fe1074e61a98543b38b0a14565b500e5580f73 (diff)
Merge "sonar critical for errorhandling"
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java
index e99def5..e6ad395 100644
--- a/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java
+++ b/src/main/java/com/att/nsa/cambria/service/impl/EventsServiceImpl.java
@@ -436,7 +436,7 @@ public class EventsServiceImpl implements EventsService {
final long startMs = System.currentTimeMillis();
long count = 0;
- long maxEventBatch=1024 * 16;
+ long maxEventBatch=(long)1024 * 16;
String batchlen = AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,BATCH_LENGTH);
if(null!=batchlen)maxEventBatch=Long.parseLong(batchlen);