title: if statement executing even if condition is false
body: <p>I am trying: if <code>abb.iscurrentlyy()</code> returns true, then go inside the <code>if</code> statement or <code>abb.islately()</code> is true.</p>
  <p>What is wrong with my if statement? When I set <code>abb.iscurrentlyy()</code> to be false. <code>abb.islately()</code> is set to true. Why is <code>abb.iscurrentlyy()</code> going inside the loop even <code>abb.iscurrentlyy()</code> is false?</p>
  <pre><code>    if (abb.iscurrentlyy() || abb.islately()) {
  
          if (reqFiles != null) {
  
              for (int i = 0; i &lt; reqFiles.length; i++) {
  
                  Future&lt;ExecResult&gt; lcukv = executor.submit(worker);
                  executionFutureException.add(lcukv);
              }
          }
  
      } else { // do if condition is false.
      }
  </code></pre>