spring-projects / spring-data-commons

Spring Data Commons. Interfaces and code shared between the various datastore specific implementations.

Home Page:https://spring.io/projects/spring-data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduce `Parameter.getRequiredName()` and `Parameter.hasName()`

mp911de opened this issue · comments

Provide a more convenient API to simplify the caller side especially for conditionals that want to determine whether a parameter name is present.

Typically, code checks for null and then throws an exception.