Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 185137 - [69cat] Naming of "Result of new Object ignored" hint
[69cat] Naming of "Result of new Object ignored" hint
Product: java
Classification: Unclassified
Component: Hints
PC Windows XP
: P4 with 2 votes (vote)
Assigned To: Svata Dedic
Depends on:
  Show dependency treegraph
Reported: 2010-04-27 19:21 UTC by matthies
Modified: 2016-07-18 20:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2010-04-27 19:21:36 UTC
The tooltip says "New instance ignored".
The Alt+Enter text says "Result of new Object ignored".
The warning ID is "ResultOfObjectAllocationIgnored".
These should be consolidated to a single wording.

If "Result of new Object ignored" is kept, I would also strongly suggest to make "Object" lower-case (or everything upper-case), because it's rather confusing to read "new Object" when the code was "new Foo".

The JLS uses the terms "class instance creation expression" and "array creation expression". Therefore it seems that "Result Of Creation Expression Ignored" would be an appropriate wording.
Comment 1 David Strupl 2010-04-28 08:08:40 UTC
This is rather cosmetic IMHO --> P4.
Comment 2 Martin Balin 2016-07-07 07:18:13 UTC
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
Comment 3 matthies 2016-07-18 20:42:11 UTC
Still reproducible in current dev build.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo