return the base instance when merging an empty enrichment
This commit is contained in:
parent
6ce896ca0a
commit
b54f4eabe7
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
<groupId>eu.dnetlib.dhp</groupId>
|
||||
<artifactId>dhp-schemas</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.17.2-SNAPSHOT</version>
|
||||
<version>3.17.2-fixInstance-SNAPSHOT</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
|
|
@ -706,7 +706,7 @@ public class Result extends OafEntity implements Serializable {
|
|||
return enrichmentResult;
|
||||
}
|
||||
if (enrichmentInstances == null) {
|
||||
return enrichmentResult;
|
||||
return toEnrichInstances;
|
||||
}
|
||||
Map<String, Instance> ri = toInstanceMap(enrichmentInstances);
|
||||
|
||||
|
|
Loading…
Reference in New Issue