When I used the "inspection code" function of idea, I found that "the equals method of Object is easy to throw a null pointer exception, and a constant or a valued object should be used to call equals".
Comment From: pivotal-issuemaster
@tellmenow Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@jason-liu475 Thank you for signing the Contributor License Agreement!
Comment From: philwebb
At least some of these could be considered potential bugs, especially the fact that ...getURI().getScheme()
can return null
.
Comment From: snicoll
@jason-liu475 thank you for making your first contribution to Spring Boot.