From 9bf2b7de9ba4c4fb6a8476a89692ded8d96614c1 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Thu, 12 Jan 2017 19:00:18 +0300 Subject: [PATCH] [vcs-log] throw exception when asked to get all elements in log --- .../src/com/intellij/vcs/log/ui/frame/VcsLogSpeedSearch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/VcsLogSpeedSearch.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/VcsLogSpeedSearch.java index 0e01c399f80c..28f39d920eac 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/VcsLogSpeedSearch.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/VcsLogSpeedSearch.java @@ -46,7 +46,7 @@ public class VcsLogSpeedSearch extends SpeedSearchBase { @NotNull @Override protected Object[] getAllElements() { - return new MyRowsList().toArray(); + throw new UnsupportedOperationException("Getting all elements in a Log in an array is unsupported."); } @Nullable