/** * @param groups * the groups to set */ public final WroModel setGroups(final Collection<Group> groups) { notNull(groups, "groups cannot be null!"); LOG.debug("setGroups: {}", groups); identifyDuplicateGroupNames(groups); this.groups = new HashSet<Group>(groups); return this; }
/** * @param groups * the groups to set */ public final WroModel setGroups(final Collection<Group> groups) { notNull(groups, "groups cannot be null!"); LOG.debug("setGroups: {}", groups); identifyDuplicateGroupNames(groups); this.groups = new HashSet<Group>(groups); return this; }