List<MavenGAVIndex> () { if (myLocalIndex == null) { return ContainerUtil.filter(myRemoteIndices, idx -> idx != null); } else { ArrayList<MavenGAVIndex> result = new ArrayList<>(getRemoteIndices()); result.add(myLocalIndex); return result; } }