Not sure you should expose via String[] as this allows to modify them. Maybe better use Set<String> that is wrapped via Collections.unmodifiableSet(...)