Skip to content

The contract for StringValueResolver.resolveStringValue should be more explicit [SPR-14842] #19408

@spring-projects-issues

Description

@spring-projects-issues

Ryan Baxter opened SPR-14842 and commented

The contract is unclear as to what value should be returned if the resolver could not resolve the value. Should it return null? Should it return the original value?


Affects: 4.3.3

Reference URL: https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/util/StringValueResolver.java#L37

Referenced from: commits 20419d7, fe19cfd

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions