small fix for JAVA 8
make AfpFilter a real class (not just a static one) :)