Skip to content

MutablePropertySources#get throws when it should return null [SPR-9179] #13817

@spring-projects-issues

Description

@spring-projects-issues

Frank Scheffler opened SPR-9179 and commented

Using contains() to check in advance is a valid work-around, but the JavaDoc should not state returning null, if throwing NPE.


Affects: 3.1 GA

Sub-tasks:

Referenced from: commits 7d72ab5, 15d1d82

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions