**[Frank Scheffler](https://jira.spring.io/secure/ViewProfile.jspa?name=maverick1601)** opened **[SPR-9179](https://jira.spring.io/browse/SPR-9179?redirect=false)** 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:** - #13823 Backport "MutablePropertySources#get throws when it should return null" **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/7d72ab59ae1841fecb0f33c938b37234dde75a8f, https://github.com/spring-projects/spring-framework/commit/15d1d824b54b2ec36a7c926e12644b391b310930