That whole class looks like it needs a bit of TLC (or Javadoc at least!)

On Wed, 31 May 2023 at 06:49, Miguel Muñoz <swingguy1...@gmail.com> wrote:
>
>
> In addition to logging and swallowing the exception, this method also then 
> returns null. This is also a bad practice.
>
>
>
> The caller has to check for null. One of the reasons exceptions were invented 
> was to free the user from needing to check for null or error codes.
>
> — Miguel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to