summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att/nsa
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-04-09 23:33:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-09 23:33:03 +0000
commit5ad103804d5632ba28e13090bee91e7f15c02831 (patch)
tree7bf2dfc35936cf18b44bf5a6400bc49d7333a284 /src/main/java/com/att/nsa
parentcd7d8f5c03d633ab2c2bafbb55f5170cf9940a11 (diff)
parented9deaffa807a441c15599bf46b977c2ca0d5f19 (diff)
Merge "sonar critical for errorhandling"
Diffstat (limited to 'src/main/java/com/att/nsa')
-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 e6ad395..bb2effd 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
@@ -535,7 +535,7 @@ public class EventsServiceImpl implements EventsService {
// start processing, building a batch to push to the backend
final long startMs = System.currentTimeMillis();
long count = 0;
- long maxEventBatch = 1024 * 16;
+ long maxEventBatch = (long)1024 * 16;
String evenlen = AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,BATCH_LENGTH);
if(null!=evenlen)maxEventBatch=Long.parseLong(evenlen);
//final long maxEventBatch = ctx.getConfigReader().getSettings().getLong(BATCH_LENGTH, 1024 * 16);