spring-projects/spring-data-mongodb — pull request #173 by thomasdarimont (2014-04-23 12:58:46+00:00)
Title: DATAMONGO-917 - Improve Spring 4.0 framework version detection to avoid NPEs.

We now check for the presence of "DefaultParameterNameDiscoverer" in order to determine if we are running with a Spring version later than 4.0 since this avoids potential NPEs in cases where the package version information is not available e.g. in cases where the application was bundled into an "uberjar" e.g. via the maven-shade-plugin.