Permalink
Browse files

Add FrontMatter variant

  • Loading branch information...
making committed Jan 12, 2018
1 parent 62720f4 commit 18fd0f2b8542861ad40cc36885169166e85894b6
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/am/ik/blog/entry/FrontMatter.java
@@ -45,6 +45,11 @@ public FrontMatter(Title title, Categories categories, Tags tags, EventTime date
this(title, categories, tags, date, updated, PremiumPoint.UNSET);
}
public FrontMatter(Title title, Categories categories, Tags tags) {
this(title, categories, tags, EventTime.UNSET, EventTime.UNSET,
PremiumPoint.UNSET);
}
private <T> T defaultValue(T value, T defaultValue) {
if (value == null) {
return defaultValue;

0 comments on commit 18fd0f2

Please sign in to comment.