Closed Rdornier closed 10 months ago
Thanks @Rdornier . Indeed, looks a bit inconsistant to me. I'm not sure, was there any reasoning behind it, why some methods throw an exception, while others return null, and yet others return an emtpy String, @jburel ? If not, I'm happy to change them.
Is there any reasons that this method throws an exception ?
I think it could simply be written like this (same way as
getLastName()
In the same way, is there any reasons to return
null
forgetEmail()
,getInstitutiom()
... methods instead of returning an empty string ?Thanks, Rémy.