SCORE-161. Fix more compilation warnings (jdk 7)

issue: https://jira.kiji.org/browse/SCORE-161
review: https://review.kiji.org/r/1677