Made PollComparator static fixing null pointer exception