From 0acaf062b52fd824de81febbfa40f8d621d56e80 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Fri, 30 Aug 2019 14:48:06 -0500 Subject: [PATCH] #786 - Deprecate VndErrors and VndError. --- .../hateoas/mediatype/vnderrors/VndErrors.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java b/src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java index e3c03c40b..4f93e9648 100644 --- a/src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java +++ b/src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java @@ -36,7 +36,9 @@ * @see https://github.com/blongden/vnd.error * @author Oliver Gierke * @author Greg Turnquist + * @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages. */ +@Deprecated public class VndErrors implements Iterable { private final List vndErrors; @@ -157,7 +159,9 @@ public boolean equals(@Nullable Object obj) { * A single {@link VndError}. * * @author Oliver Gierke + * @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages. */ + @Deprecated public static class VndError extends RepresentationModel { @JsonProperty private final String logref;