Skip to content

Commit

Permalink
Fix print results not breaking in the switch on result.type (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
giejay authored and olamy committed Nov 1, 2017
1 parent 0f265c6 commit 26e28d5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ private void printResults(List<CqlResult> results)
switch (result.type) {
case VOID:
// Void method so nothing to log
break;
case INT:
getLog().info("Number result: " + result.getNum());
break;
case ROWS:
printRows(result);
break;
}
}
}
Expand Down

0 comments on commit 26e28d5

Please sign in to comment.