mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-116202 Set active changelist causes IDEA to hang: changelist name truncated to 100.
This commit is contained in:
@@ -925,10 +925,10 @@ public class TaskManagerImpl extends TaskManager implements ProjectComponent, Pe
|
||||
}
|
||||
|
||||
public String getChangelistName(Task task) {
|
||||
if (task.isIssue() && myConfig.changelistNameFormat != null) {
|
||||
return TaskUtil.formatTask(task, myConfig.changelistNameFormat);
|
||||
}
|
||||
return task.getSummary();
|
||||
String name = task.isIssue() && myConfig.changelistNameFormat != null
|
||||
? TaskUtil.formatTask(task, myConfig.changelistNameFormat)
|
||||
: task.getSummary();
|
||||
return StringUtil.shortenTextWithEllipsis(name, 100, 0);
|
||||
}
|
||||
|
||||
public String suggestBranchName(Task task) {
|
||||
|
||||
Reference in New Issue
Block a user