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.
[ BUILD # : beta-2 ] [ JDK VERSION : 1.6.23 ] When using the hint "Replace assignment with operator" the statement "a=a+1" becomes "a+=1". Why not replace it with "a++" instead?
I assume that this goes for a=a+1 only, incrementing variables by one is a very common operation, as for other cases as "b=b+10" you probable have to stick with "b+=10"... Just mentioning this so you know I didn't forget that case...
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Still valid in 8.2 dev Product Version: NetBeans IDE Dev (Build 201607100002)