agent/src/jetbrains/buildServer/xmlReportPlugin/parsers/findBugs/messages.xml [5812:5827]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        <ShortDescription>Check for sign of bitwise operation</ShortDescription>
        <LongDescription>Check for sign of bitwise operation in {1}</LongDescription>
        <Details>
            <![CDATA[
<p> This method compares an expression such as
<pre>((event.detail &amp; SWT.SELECTED) &gt; 0)</pre>.
Using bit arithmetic and then comparing with the greater than operator can
lead to unexpected results (of course depending on the value of
SWT.SELECTED). If SWT.SELECTED is a negative number, this is a candidate
for a bug. Even when SWT.SELECTED is not negative, it seems good practice
to use '!= 0' instead of '&gt; 0'.
</p>
<p>
<em>Boris Bokowski</em>
</p>
]]>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



agent/src/jetbrains/buildServer/xmlReportPlugin/parsers/findBugs/messages.xml [5832:5847]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        <ShortDescription>Check for sign of bitwise operation</ShortDescription>
        <LongDescription>Check for sign of bitwise operation in {1}</LongDescription>
        <Details>
            <![CDATA[
<p> This method compares an expression such as
<pre>((event.detail &amp; SWT.SELECTED) &gt; 0)</pre>.
Using bit arithmetic and then comparing with the greater than operator can
lead to unexpected results (of course depending on the value of
SWT.SELECTED). If SWT.SELECTED is a negative number, this is a candidate
for a bug. Even when SWT.SELECTED is not negative, it seems good practice
to use '!= 0' instead of '&gt; 0'.
</p>
<p>
<em>Boris Bokowski</em>
</p>
]]>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



