title: How to fix Checkstyle empty block warning
body: <p>I wanted to know the proper way of resolving this issue with a Checkstyle report where it points out an empty else block: "Must have at least one statement". We do not log anything in those classes and I think printing anything on console is also not a good idea. What would be the best way to handle this?</p>
  
  <p><a href="https://i.stack.imgur.com/xK0MQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xK0MQ.jpg" alt="code example with empty &quot;else if&quot; block"></a></p>