private EditorTextField createTextField(@NotNull Project project, @NotNull List<String> list) {
TextCompletionProvider completionProvider =
new ValuesCompletionProviderDumbAware<>(new DefaultTextCompletionValueDescriptor.StringValueDescriptor(), list);
return new TextFieldWithCompletion(project, completionProvider, "", true, true, true);
}
<BUG>@Override
@NotNull
protected Set<VirtualFile> getVcsRoots(@NotNull Collection<FilePath> filePaths) {
return GitUtil.gitRoots(filePaths);
}</BUG>
@Nullable

private EditorTextField createTextField(@NotNull Project project, @NotNull List<String> list) {
TextCompletionProvider completionProvider =
new ValuesCompletionProviderDumbAware<>(new DefaultTextCompletionValueDescriptor.StringValueDescriptor(), list);
return new TextFieldWithCompletion(project, completionProvider, "", true, true, true);
}
private class MyAmendComponent extends AmendComponent {
public MyAmendComponent(Project project, CheckinProjectPanel panel) {
super(project, panel);
}
@NotNull
@Override
protected Set<VirtualFile> getVcsRoots(@NotNull Collection<FilePath> files) {
return GitUtil.gitRoots(files);
}
