1
0
Fork 0

JoinedEntity.links defined as empty list by default

This commit is contained in:
Claudio Atzori 2020-05-28 13:50:44 +02:00
parent 5dea155a87
commit ef11593068
1 changed files with 2 additions and 1 deletions

View File

@ -2,13 +2,14 @@
package eu.dnetlib.dhp.oa.provision.model; package eu.dnetlib.dhp.oa.provision.model;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList;
import java.util.List; import java.util.List;
public class JoinedEntity implements Serializable { public class JoinedEntity implements Serializable {
private TypedRow entity; private TypedRow entity;
private List<Tuple2> links; private List<Tuple2> links = new ArrayList<>();
public JoinedEntity() { public JoinedEntity() {
} }