void (@NotNull List<MavenIndex> indices) { List<MavenIndex> list = new ArrayList<>(indices); for (MavenIndex each : list) { try { each.close(false); } catch (Exception e) { MavenLog.LOG.error("indices dispose error", e); } } }