spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.85k stars 5.91k forks source link

Cleanup in DefaultBearerTokenResolver.java #16141

Closed Jyosua closed 5 days ago

Jyosua commented 5 days ago

isParameterTokenSupportedForRequest() only really needs to be called once, but the result needs to be used a second time later in the function. Super simple cleanup, but I happened to be reading this code anyhow and figured why not? 😅

pivotal-cla commented 5 days ago

@Jyosua Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla commented 5 days ago

@Jyosua Thank you for signing the Contributor License Agreement!

Jyosua commented 5 days ago

Realized I misread the code, my bad.