diff --git a/spring-restdocs-core/src/main/java/org/springframework/restdocs/generate/RestDocumentationGenerator.java b/spring-restdocs-core/src/main/java/org/springframework/restdocs/generate/RestDocumentationGenerator.java index c177f11b..e299b0a5 100644 --- a/spring-restdocs-core/src/main/java/org/springframework/restdocs/generate/RestDocumentationGenerator.java +++ b/spring-restdocs-core/src/main/java/org/springframework/restdocs/generate/RestDocumentationGenerator.java @@ -161,7 +161,6 @@ public RestDocumentationGenerator(String identifier, RequestConverter reque Assert.notNull(identifier, "identifier must be non-null"); Assert.notNull(requestConverter, "requestConverter must be non-null"); Assert.notNull(responseConverter, "responseConverter must be non-null"); - Assert.notNull(identifier, "identifier must be non-null"); Assert.notNull(requestPreprocessor, "requestPreprocessor must be non-null"); Assert.notNull(responsePreprocessor, "responsePreprocessor must be non-null"); Assert.notNull(snippets, "snippets must be non-null");