Undo HALResource change, all tests run locally

This commit is contained in:
Marie Verdonck
2019-06-04 12:57:19 +02:00
committed by Andrew Wood
parent f6bf8b09fd
commit 668b6551b0

View File

@@ -27,7 +27,8 @@ public abstract class HALResource<T> extends Resource<T> {
protected final Map<String, Object> embedded = new HashMap<String, Object>();
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonUnwrapped
private EmbeddedPageHeader pageHeader;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@@ -49,9 +50,5 @@ public abstract class HALResource<T> extends Resource<T> {
public void setPageHeader(EmbeddedPageHeader page) {
this.pageHeader = page;
}
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonUnwrapped
public EmbeddedPageHeader getPageHeader() {
return pageHeader;
}
}