22 17:51To: JohnCc: NetBeans Mailing ListSubject: Re: NetBeans `Convert to for (Iterator...) {}' suggestion I agree that this isn’t usually a good suggestion. It is available as a refactoring for when you might need an iterator, but by no means should the IDE “warn” about it. I think that is the c
Hi John,
suggestions which are only active at the current line where your cursor
is, don't necessary produce better code, they are just there to
transform parts of it in case you want to change something. Internally
they are hints of a kind called actions.
The doc describes it well:
"The hi
I agree that this isn’t usually a good suggestion. It is available as a
refactoring for when you might need an iterator, but by no means should the IDE
“warn” about it. I think that is the current behaviour though. The line is
not marked with a hint lightbulb unless I put the cursor on that l