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

Summary: Wrong "Senseless bit expression ' [was: Falscher "Sinnloser Bit-Ausdruck"]
Product: editor Reporter: sperl
Component: Hints & AnnotationsAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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 ***