Make compilable under Java 1.5.
Merge pull request #690 from noel-yap/filter-option

Make compilable under Java 1.5.