mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Undo HALResource change, all tests run locally
This commit is contained in:

committed by
Andrew Wood

parent
f6bf8b09fd
commit
668b6551b0
@@ -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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user