The name is confusing. When filtering something, one removes something. You want to filter the empty words. Thus the method should be called `filterEmpty`.