Polish
This commit is contained in:
parent
19c88f2cfa
commit
06fc092be2
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue