class HudsonXmlHelper {

    public static String[] getCommiterNames(Build build) {
        checkBuild(build);
        List<Culprit> users = build.getCulprits();
        String[] commiters = new String[users.size()];
        for (int i = 0; i < users.size(); i++) {
            Culprit hudsonModelUser = users.get(i);
            String name = hudsonModelUser.getFullName();
            commiters[i] = name;
        }
        return commiters;
    }

    private  HudsonXmlHelper();

}