Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
38a188f5
Commit
38a188f5
authored
Dec 26, 2017
by
Johnny Lim
Committed by
Stephane Nicoll
Dec 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a Checkstyle rule to prevent Commons Lang/Lang 3 imports
Closes gh-11432
parent
9c1acb5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
checkstyle.xml
...-project/spring-boot-parent/src/checkstyle/checkstyle.xml
+1
-1
No files found.
spring-boot-project/spring-boot-parent/src/checkstyle/checkstyle.xml
View file @
38a188f5
...
...
@@ -73,7 +73,7 @@
value=
"io.restassured.RestAssured.*, 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.springframework.boot.test.autoconfigure.AutoConfigurationImportedCondition.*, org.mockito.Mockito.*, org.mockito.BDDMockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Matchers.*, org.springframework.restdocs.hypermedia.HypermediaDocumentation.*, org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*, org.springframework.restdocs.operation.preprocess.Preprocessors.*, org.springframework.restdocs.payload.PayloadDocumentation.*, org.springframework.restdocs.request.RequestDocumentation.*, org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.*, org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.*, 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, org.springframework.test.web.client.ExpectedCount.*, org.springframework.test.web.client.match.MockRestRequestMatchers.*, org.springframework.test.web.client.response.MockRestResponseCreators.*"
/>
</module>
<module
name=
"com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"
>
<property
name=
"illegalPkgs"
value=
"sun, org.apache.commons.(?!codec|compress|dbcp2|logging|pool2).*, com.google.common, org.flywaydb.core.internal"
/>
<property
name=
"illegalPkgs"
value=
"sun, org.apache.commons.(?!codec|compress|dbcp2|l
ang|lang3|l
ogging|pool2).*, com.google.common, org.flywaydb.core.internal"
/>
<property
name=
"regexp"
value=
"true"
/>
</module>
<module
name=
"com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment