refs #7742
Change-Id: I2a267c11e5e9a151352d08beab38b604368fbdc1
public static Pair<List<ConsistsOfProcessEntry>,Set<Resource>> walk(ReadGraph graph, ResourceMap<ExtentStatus> status, Collection<SeedSpec> specs, boolean ignoreVirtual) throws DatabaseException {
public static Pair<List<ConsistsOfProcessEntry>,Set<Resource>> walk(ReadGraph graph, ResourceMap<ExtentStatus> status, Collection<SeedSpec> specs, boolean ignoreVirtual) throws DatabaseException {
- Collection<ConsistsOfProcessEntry> entries = new ArrayList<>();
+ Collection<ConsistsOfProcessEntry> entries = new ArrayList<>(specs.size());
for(SeedSpec r : specs) {
if(SeedSpecType.INTERNAL.equals(r.specType))
entries.add(new ConsistsOfProcessEntry(null, r.resource, true));
for(SeedSpec r : specs) {
if(SeedSpecType.INTERNAL.equals(r.specType))
entries.add(new ConsistsOfProcessEntry(null, r.resource, true));
}
public static SeedSpec internal(Resource resource) {
}
public static SeedSpec internal(Resource resource) {
- return new SeedSpec(resource, null, SeedSpecType.ROOT);
+ return new SeedSpec(resource, "", SeedSpecType.ROOT);