[vcs-log] throw exception when asked to get all elements in log

This commit is contained in:
Julia Beliaeva
2017-01-13 14:16:41 +03:00
parent da2b3a6cfe
commit 9bf2b7de9b
@@ -46,7 +46,7 @@ public class VcsLogSpeedSearch extends SpeedSearchBase<VcsLogGraphTable> {
@NotNull
@Override
protected Object[] getAllElements() {
return new MyRowsList().toArray();
throw new UnsupportedOperationException("Getting all elements in a Log in an array is unsupported.");
}
@Nullable