NUCCASSANDRA-56 removing unnecessary code block