ListData (@NotNull String name, @Nullable String description, @Nullable String id, @Nullable ChangeListData data) { if (!assertChangeListsEnabled()) return myDefault; ListData existingList = getDataByName(name); if (existingList != null) { LOG.error("Attempt to create duplicate changelist " + name); return existingList; } ListData list = new ListData(id, name); list.comment = StringUtil.notNullize(description); list.data = data; list = putNewListData(list); if (LOG.isDebugEnabled()) { LOG.debug(String.format("[addChangeList %s] name: %s id: %s", myMainWorker ? "" : "- updater", name, list.id)); } return list; }