forked from Archives/Athou_commafeed
prevent NPE
This commit is contained in:
@@ -20,6 +20,8 @@ import lombok.Setter;
|
|||||||
import org.hibernate.annotations.Cache;
|
import org.hibernate.annotations.Cache;
|
||||||
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
||||||
|
|
||||||
|
import com.google.common.collect.Lists;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "FEEDENTRYSTATUSES")
|
@Table(name = "FEEDENTRYSTATUSES")
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
@@ -45,7 +47,7 @@ public class FeedEntryStatus extends AbstractModel {
|
|||||||
private boolean markable;
|
private boolean markable;
|
||||||
|
|
||||||
@Transient
|
@Transient
|
||||||
private List<FeedEntryTag> tags;
|
private List<FeedEntryTag> tags = Lists.newArrayList();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Denormalization starts here
|
* Denormalization starts here
|
||||||
|
|||||||
Reference in New Issue
Block a user