VcsConsoleLine (@NotNull List<? extends Pair<@Nls String, ConsoleViewContentType>> lineChunks) { List<Pair<String, ConsoleViewContentType>> chunks = ContainerUtil.filter(lineChunks, it -> !StringUtil.isEmptyOrSpaces(it.first)); if (chunks.isEmpty()) return null; return new VcsConsoleLine(chunks); }