String (@NotNull Task task, String separator) { String name = constructDefaultBranchName(task); if (!name.isEmpty()) return name.replace(" ", separator); List<String> words = StringUtil.getWordsIn(task.getSummary()); String[] strings = ArrayUtilRt.toStringArray(words); return StringUtil.join(strings, 0, Math.min(2, strings.length), separator); }