result[i] = URI.create(uri);
}
return result;</BUG>
}
public URI[] getResourceRepositories() throws IOException {
<BUG>load();
URI[] result = new URI[features.getResourceRepository().size()];
for (int i = 0; i < features.getResourceRepository().size(); i++) {
String uri = features.getResourceRepository().get(i);
uri = uri.trim();
result[i] = URI.create(uri);
}
return result;</BUG>
}

public String getName() throws IOException {
load();
return features.getName();
}
public URI[] getRepositories() throws IOException {
load();
return features.getRepository().stream().map(URI::create).toArray(URI[]::new);
}
public URI[] getResourceRepositories() throws IOException {
load();
return features.getResourceRepository().stream().map(URI::create).toArray(URI[]::new);
}
