This commit is contained in:
Stephane Nicoll 2017-07-19 10:11:06 +02:00
parent 19c88f2cfa
commit 06fc092be2
1 changed files with 1 additions and 3 deletions

View File

@ -109,7 +109,7 @@ public class CandidateComponentsIndexer implements Processor {
}
}
private CandidateComponentsMetadata writeMetaData() {
private void writeMetaData() {
CandidateComponentsMetadata metadata = this.metadataCollector.getMetadata();
if (!metadata.getItems().isEmpty()) {
try {
@ -118,9 +118,7 @@ public class CandidateComponentsIndexer implements Processor {
catch (IOException ex) {
throw new IllegalStateException("Failed to write metadata", ex);
}
return metadata;
}
return null;
}
}