There are some really interesting questions.
Concerning Q34 I would add a third option, which in my opinion is the best one. Returning an empty java.util.Optional. That way the API implies that the result might be empty and there is no risk of a NullPointerException.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There are some really interesting questions.
Concerning Q34 I would add a third option, which in my opinion is the best one. Returning an empty java.util.Optional. That way the API implies that the result might be empty and there is no risk of a NullPointerException.