|
|
|
|
@ -71,7 +71,7 @@
@@ -71,7 +71,7 @@
|
|
|
|
|
<module name="AvoidStarImport" /> |
|
|
|
|
<module name="AvoidStaticImport"> |
|
|
|
|
<property name="excludes" |
|
|
|
|
value="org.junit.Assert.*, org.junit.Assume.*, org.junit.internal.matchers.ThrowableMessageMatcher.*, org.hamcrest.CoreMatchers.*, org.hamcrest.Matchers.*, org.springframework.boot.configurationprocessor.ConfigurationMetadataMatchers.*, org.springframework.boot.configurationprocessor.TestCompiler.*, org.mockito.Mockito.*, org.mockito.BDDMockito.*, org.mockito.Matchers.*, org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*, org.springframework.test.web.servlet.result.MockMvcResultMatchers.*, org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*, org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers.*, org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo" /> |
|
|
|
|
value="org.assertj.core.api.Assertions.*, org.junit.Assert.*, org.junit.Assume.*, org.junit.internal.matchers.ThrowableMessageMatcher.*, org.hamcrest.CoreMatchers.*, org.hamcrest.Matchers.*, org.springframework.boot.configurationprocessor.ConfigurationMetadataMatchers.*, org.springframework.boot.configurationprocessor.TestCompiler.*, org.mockito.Mockito.*, org.mockito.BDDMockito.*, org.mockito.Matchers.*, org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*, org.springframework.test.web.servlet.result.MockMvcResultMatchers.*, org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*, org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers.*, org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo" /> |
|
|
|
|
</module> |
|
|
|
|
<module name="IllegalImport" /> |
|
|
|
|
<module name="RedundantImport" /> |
|
|
|
|
@ -136,6 +136,13 @@
@@ -136,6 +136,13 @@
|
|
|
|
|
value="Please use BDDMockto imports." /> |
|
|
|
|
<property name="ignoreComments" value="true" /> |
|
|
|
|
</module> |
|
|
|
|
<module name="RegexpSinglelineJava"> |
|
|
|
|
<property name="maximum" value="0"/> |
|
|
|
|
<property name="format" value="org\.junit\.Assert\.assert" /> |
|
|
|
|
<property name="message" |
|
|
|
|
value="Please use AssertJ imports." /> |
|
|
|
|
<property name="ignoreComments" value="true" /> |
|
|
|
|
</module> |
|
|
|
|
<module name="Regexp"> |
|
|
|
|
<property name="format" value="[ \t]+$" /> |
|
|
|
|
<property name="illegalPattern" value="true" /> |
|
|
|
|
|