summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
4fde06b)
Merge this if statement with the enclosing one.
Issue-ID: AAF-876
Change-Id: I45abf792e8d578f5f2faf7612619131a12c8716c
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
* org.onap.aaf
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
* org.onap.aaf
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* Assume this is another line in the Batch
* @return
/**
* Assume this is another line in the Batch
* @return
public StringBuilder inc() {
public StringBuilder inc() {
- if(i>=maxBatch || current.length()+sb.length()>MAX_CHARS) {
- if(i>0) {
- cqlBatch.execute(dryRun);
+ if((i>=maxBatch || current.length()+sb.length()>MAX_CHARS)&&(i>0)) {
+
+ cqlBatch.execute(dryRun);
if(i<0) {
cqlBatch.begin();
i=0;
if(i<0) {
cqlBatch.begin();
i=0;