by saheb37 · 10y ago · 0 comments
There are lot more, but this is one which irritates me the most.
It is good practice for methods to return an Optional instead of null if you can't guarantee a non null value.