Skip to content

Commit 8076a8e

Browse files
committed
Remove duplicate null check for identifier in RestDocumentationGenerator
Signed-off-by: Seonghun Jeong <[email protected]>
1 parent a3cf191 commit 8076a8e

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)