git: cleanup

GitOrigin-RevId: 2246a116e3be8c5cf7cd422226f4e48360bb0d58
This commit is contained in:
Aleksandr Krasilnikov
2024-06-11 13:57:25 +02:00
committed by intellij-monorepo-bot
parent 758fe55474
commit 6964d8f107

View File

@@ -40,7 +40,7 @@ public final class GitLogBranchOperationsActionGroup extends GitSingleCommitActi
VcsLogUi logUI = e.getData(VcsLogDataKeys.VCS_LOG_UI);
List<VcsRef> refs = e.getData(VcsLogDataKeys.VCS_LOG_REFS);
if (logUI == null || refs == null) {
return AnAction.EMPTY_ARRAY;
return EMPTY_ARRAY;
}
List<VcsRef> branchRefs = ContainerUtil.filter(refs, ref -> {
@@ -98,7 +98,7 @@ public final class GitLogBranchOperationsActionGroup extends GitSingleCommitActi
groups.add(tagsGroup);
}
return groups.toArray(AnAction.EMPTY_ARRAY);
return groups.toArray(EMPTY_ARRAY);
}
private static @Nullable AnAction createBranchGroup(@NotNull Project project,