Skip to content

Commit 6c87701

Browse files
committed
Allow static import of repackaged REST Docs Rest Assured methods
Closes spring-iogh-287
1 parent c95ab16 commit 6c87701

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-javaformat/spring-javaformat-checkstyle/src/main/java/io/spring/javaformat/checkstyle/check/SpringAvoidStaticImportCheck.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2020 the original author or authors.
2+
* Copyright 2017-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -63,6 +63,8 @@ public class SpringAvoidStaticImportCheck extends AvoidStaticImportCheck {
6363
excludes.add("org.springframework.restdocs.operation.preprocess.Preprocessors.*");
6464
excludes.add("org.springframework.restdocs.payload.PayloadDocumentation.*");
6565
excludes.add("org.springframework.restdocs.request.RequestDocumentation.*");
66+
excludes.add("org.springframework.restdocs.restassured.operation.preprocess.RestAssuredPreprocessors.*");
67+
excludes.add("org.springframework.restdocs.restassured.RestAssuredRestDocumentation.*");
6668
excludes.add("org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.*");
6769
excludes.add("org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.*");
6870
excludes.add("org.springframework.restdocs.snippet.Attributes.*");

0 commit comments

Comments
 (0)