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

Make compilable under Java 1.5.