Simplify JavaSourceFileFilter code