Skip to content

Commit 30254ba

Browse files
committed
Merge pull request #271 from Johnny Lim
* gh-271: Correct javadoc in LinksSnippet
2 parents 8ca1dfa + c6f20f2 commit 30254ba

File tree

1 file changed

+4
-4
lines changed
  • spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia

1 file changed

+4
-4
lines changed

spring-restdocs-core/src/main/java/org/springframework/restdocs/hypermedia/LinksSnippet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ protected Map<String, Object> createModelForDescriptor(LinkDescriptor descriptor
243243
}
244244

245245
/**
246-
* Returns a new {@code RequestHeadersSnippet} configured with this snippet's link
247-
* extractor and attributes, and its descriptors combined with the given
246+
* Returns a new {@code LinksSnippet} configured with this snippet's link extractor
247+
* and attributes, and its descriptors combined with the given
248248
* {@code additionalDescriptors}.
249249
* @param additionalDescriptors the additional descriptors
250250
* @return the new snippet
@@ -254,8 +254,8 @@ public final LinksSnippet and(LinkDescriptor... additionalDescriptors) {
254254
}
255255

256256
/**
257-
* Returns a new {@code RequestHeadersSnippet} configured with this snippet's link
258-
* extractor and attributes, and its descriptors combined with the given
257+
* Returns a new {@code LinksSnippet} configured with this snippet's link extractor
258+
* and attributes, and its descriptors combined with the given
259259
* {@code additionalDescriptors}.
260260
* @param additionalDescriptors the additional descriptors
261261
* @return the new snippet

0 commit comments

Comments
 (0)