Weird Java issue in regular If statement
<p>I am developing an Android App in eclipse and I have this if statement:</p>

<pre><code>private static final int MAX_FREQ=2484;
private static final int MIN_FREQ=2412;

if ((freq &gt;= MIN_FREQ) &amp;&amp; (freq &lt;= MAX_FREQ)){
        return true;     
    }
</code></pre>

<p>The <code>freq</code> is 2462 and for some odd reason it fails to get into the statement. When I change the source into:</p>

<pre><code>private static final int MAX_FREQ=2484;
private static final int MIN_FREQ=2412;

if ((freq &gt;= MIN_FREQ) &amp;&amp; (freq &lt;= MAX_FREQ)){
        Log.e(TAG,""Bla Bla");
        return true;     
    }
</code></pre>

<p>this one works ... :-/ ? What am I missing ?</p>
