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 218855 - Multiple "Invert if" makes crazy code
Summary: Multiple "Invert if" makes crazy code
Status: RESOLVED DUPLICATE of bug 218701
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: PC Windows 3.1/NT
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 23:31 UTC by Chiana
Modified: 2012-09-23 06:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Original code (23.51 KB, image/jpeg)
2012-09-22 23:32 UTC, Chiana
Details
One invert attached (23.91 KB, image/jpeg)
2012-09-22 23:32 UTC, Chiana
Details
One more (23.50 KB, image/jpeg)
2012-09-22 23:33 UTC, Chiana
Details
and one more... (28.68 KB, image/jpeg)
2012-09-22 23:33 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2012-09-22 23:31:50 UTC
[ JDK VERSION : 1.7.7 ]

When using the "Invert if" hint it ADDS and invert if used more than once, the
hint should more likley remove an invertion if it exist rather than adding one
more...
See screendumps
Invert1 original
Invert 2 One invert if
Invert 3 following invert if, this is the one that should have one removed
Invert 4 ...and it goes on...
Comment 1 Chiana 2012-09-22 23:32:21 UTC
Created attachment 124761 [details]
Original code
Comment 2 Chiana 2012-09-22 23:32:51 UTC
Created attachment 124762 [details]
One invert attached
Comment 3 Chiana 2012-09-22 23:33:25 UTC
Created attachment 124763 [details]
One more
Comment 4 Chiana 2012-09-22 23:33:55 UTC
Created attachment 124764 [details]
and one more...
Comment 5 Jan Lahoda 2012-09-23 06:28:28 UTC

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