Minor java cleanups, switch votes to use a VoteType enum
Merge pull request #1 from jpgdump/master

Minor java cleanups, switch votes to use a VoteType enum