aleksandrsl
02/25/2018, 2:54 PM-Xjsr305=strict compiler argument that is added by spring initializr forces to override methods like findById
the following way override fun findById(id: Long): Optional<User>. But it seems that this override is the wrong one, and it should be override fun findById(id: Long?): Optional<User> cause with the last one security annotations works the right way.