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.
Here is an example code where all the lines are marked with the hint "Weired assignment"; // just to avoid showing other issues var obj, something, length; // minimal reasonable cases length = something * something; length = obj.something * obj.something; // minimal cases something * something; obj.something * obj.something; // other cases if ( length > something * something ) {}; if ( length > obj.something * obj.something ) {}; So this hint marks all the lines containing code like: something [+|-|*|/] something So it seems to be unnecessary in such cases.
Not reproducible anymore. Product Version: NetBeans IDE Dev (Build 20150601-b403da652e07) Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11 Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15 System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb)