jhipster/generator-jhipster — pull request #916 by gzsombor (2014-12-29 00:53:22+00:00)
Title: Simplify UserDetailsService, fix UserRepository to use JpaRepository or ...

...MongoRepository with the correct ID type.

(so no need to declare a separate save method, as it is already provided by Jpa and Mongo Repository), and simplify UserDetailsService to not repeate userFromDatabase.map(...) unnecessarily.