private void printReportHelper(String noticeKey, Set names) {
        if (names.size() > 0) {
            String[] namesArray =
                (String[]) names.toArray(new String[] {});
            String result = " ";
            for (int i = 0; i < namesArray.length; i++) {
                result += "@" + namesArray[i];
                if (i + 1 < namesArray.length) {
                    result += ", ";
                }
            }
            message.notice(noticeKey, result);
        }
    }