move fields to locals or static fields where possible patch by Dave Brosius; reviewed by jbellis for CASSANDRA-1793