diff --git a/spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia/LinksSnippet.java b/spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia/LinksSnippet.java index f0a4cb30..62543d5b 100644 --- a/spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia/LinksSnippet.java +++ b/spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia/LinksSnippet.java @@ -243,8 +243,8 @@ public class LinksSnippet extends TemplatedSnippet { } /** - * Returns a new {@code RequestHeadersSnippet} configured with this snippet's link - * extractor and attributes, and its descriptors combined with the given + * Returns a new {@code LinksSnippet} configured with this snippet's link extractor + * and attributes, and its descriptors combined with the given * {@code additionalDescriptors}. * @param additionalDescriptors the additional descriptors * @return the new snippet @@ -254,8 +254,8 @@ public class LinksSnippet extends TemplatedSnippet { } /** - * Returns a new {@code RequestHeadersSnippet} configured with this snippet's link - * extractor and attributes, and its descriptors combined with the given + * Returns a new {@code LinksSnippet} configured with this snippet's link extractor + * and attributes, and its descriptors combined with the given * {@code additionalDescriptors}. * @param additionalDescriptors the additional descriptors * @return the new snippet