Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of Boolean constructors in tests [SPR-15076] #19642

Closed
spring-projects-issues opened this issue Dec 31, 2016 · 1 comment
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Dec 31, 2016

Philippe Marschall opened SPR-15076 and commented

Codacy warns us that there are several references to Boolean constructors in the tests. Direct usage of the Boolean constructor is discouraged and even deprecated in Java 9. Boolean constructor use can easily be replaced with the constant instances.


Issue Links:

Referenced from: pull request #1281

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 4, 2017

Stéphane Nicoll commented

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants