Wrapped ternary operator within parentheses as outlined in Code Style.

Comment From: pivotal-cla

@70825 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-cla

@70825 Thank you for signing the Contributor License Agreement!

Comment From: snicoll

Thanks @70825. For the record, we prefer to do things like this ourselves as it often requires to look a bit deeper for consistency. I did another pass and found several other occurrences, see https://github.com/spring-projects/spring-framework/commit/2b76c4d847b066759b02a78a66a148b407e8bda3.