title: Redundant If statement warning
body: <pre><code>if ( a &gt; b) {
    return true;
  }
  return false;
  </code></pre>
  
  <p>With the above code Netbeans gives <code>"Redundant if statement"</code> warning and suggest changing it to :</p>
  
  <pre><code>return a &gt; b;
  </code></pre>
  
  <p>I think the first version is easier to read and prefer using it in my code. I want to know if there is any disadvantages of it compared to the suggested one.</p>