This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188273 - Wrong "Senseless bit expression ' [was: Falscher "Sinnloser Bit-Ausdruck"]
Summary: Wrong "Senseless bit expression ' [was: Falscher "Sinnloser Bit-Ausdruck"]
Status: RESOLVED DUPLICATE of bug 185010
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 12:35 UTC by sperl
Modified: 2010-07-02 17:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sperl 2010-07-01 12:35:16 UTC
Product Version = NetBeans IDE 6.9 (Build 201006111053)
Operating System = Windows 7 version 6.1 running on x86 (WOW)
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

Bemängelte Codezeile: 
	rawAmcChannelDescriptor |=  (getStorageInt(0) & 0x1f);

Bemängelt wurde:
	Die Verwendung der 0. Diese dient als Index in ein Datenarray und kann nicht weggelassen werden.
Comment 1 Marian Mirilovic 2010-07-02 11:10:30 UTC
Translated via Google:

Criticized the line of code:
    rawAmcChannelDescriptor | = (getStorageInt (0) & 0x1f);

Criticism was:
    The use of the 0 This serves as an index into a data array and can
is not omitted.
Comment 2 Jan Lahoda 2010-07-02 17:15:55 UTC
Duplicate of bug #185010. Thanks for the report anyway.

*** This bug has been marked as a duplicate of bug 185010 ***