forked from D-Net/dnet-hadoop
JoinedEntity.links defined as empty list by default
This commit is contained in:
parent
5dea155a87
commit
ef11593068
|
@ -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() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue