diff options
Diffstat (limited to 'auth/auth-batch/src/main/java')
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/CassBatch.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/CassBatch.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/CassBatch.java index e80eada1..4ebb3a94 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/CassBatch.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/CassBatch.java @@ -60,9 +60,13 @@ public abstract class CassBatch extends Batch { public ResultSet executeQuery(String cql, String extra) { if (isDryRun() && !cql.startsWith("SELECT")) { - if (extra!=null)env.info().log("Would query" + extra + ": " + cql); + if (extra!=null) { + env.info().log("Would query" + extra + ": " + cql); + } } else { - if (extra!=null)env.info().log("query" + extra + ": " + cql); + if (extra!=null) { + env.info().log("query" + extra + ": " + cql); + } try { return session.execute(cql); } catch (InvalidQueryException e) { |