Skip to content

Commit b956aea

Browse files
committed
Merge pull request #1019 from zzoe2346
* gh-1019: Remove duplicate identifier null check in RestDocumentationGenerator Closes gh-1019
2 parents 9f8ae25 + beb9e8d commit b956aea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-restdocs-core/src/main/java/org/springframework/restdocs/generate/RestDocumentationGenerator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public RestDocumentationGenerator(String identifier, RequestConverter<REQ> reque
161161
Assert.notNull(identifier, "identifier must be non-null");
162162
Assert.notNull(requestConverter, "requestConverter must be non-null");
163163
Assert.notNull(responseConverter, "responseConverter must be non-null");
164-
Assert.notNull(identifier, "identifier must be non-null");
165164
Assert.notNull(requestPreprocessor, "requestPreprocessor must be non-null");
166165
Assert.notNull(responsePreprocessor, "responsePreprocessor must be non-null");
167166
Assert.notNull(snippets, "snippets must be non-null");

0 commit comments

Comments
 (0)