diff --git a/json/src/test/java/tools/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java b/json/src/test/java/tools/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java index ab84c84e..be58b0a2 100644 --- a/json/src/test/java/tools/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java +++ b/json/src/test/java/tools/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java @@ -79,24 +79,22 @@ public ExtendedPoint(int x, int y, int z) { } } - protected static abstract class Page { + protected static abstract class Page { - public static final String PREV_PAGE_REL = "prev"; - public static final String NEXT_PAGE_REL = "next"; + public static final String PREV_PAGE_REL = "prev"; + public static final String NEXT_PAGE_REL = "next"; - public final Link getPreviousPageLink() { - return getLink(PREV_PAGE_REL); - } - - public final Link getNextPageLink() { - return getLink(NEXT_PAGE_REL); - } - - public abstract List getEntities(); + public final Link getPreviousPageLink() { + return getLink(PREV_PAGE_REL); + } - public abstract Link getLink(String rel); + public final Link getNextPageLink() { + return getLink(NEXT_PAGE_REL); + } - } + public abstract List getEntities(); + public abstract Link getLink(String rel); + } @JsonPropertyOrder({ "entities", "links" }) @JsonAutoDetect(fieldVisibility = Visibility.ANY, creatorVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, isGetterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE) @@ -142,11 +140,11 @@ public Link deserialize(JsonParser p, DeserializationContext deserializationCont } } - private final List entities; + private List entities; @JsonSerialize(contentUsing = JsonLinkSerializer.class) @JsonDeserialize(contentUsing = JsonLinkDeserializer.class) - private final List links; + private List links; protected PageImpl() { this.entities = new ArrayList<>();