findbugs: toArray of the right type, not Object[]