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 140935 - [65cat] Duplicate Hint Upon creation of Non Existing Object
Summary: [65cat] Duplicate Hint Upon creation of Non Existing Object
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Svata Dedic
: 147655 (view as bug list)
Depends on:
Reported: 2008-07-21 05:46 UTC by rajivderas
Modified: 2013-09-02 14:22 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-07-21 05:46:51 UTC
[ BUILD # : 200807170007 ]
[ JDK VERSION : 1.6.0_07 ]

When I try to create a reference of a new Object which is not already
created the Hints pop should display and ask "Create class <clssname>
in  <package>". It shows the hint but is is shown twice in the

package netcattest;

 * @author Rajiv Perera
public class Main {

     * @param args the command line arguments
    public static void main(String[] args) {
       NetCat cat = new NetCat(); // This object does not exist and
in     //this line the hint duplicates the same information twice

Comment 1 Petr Dvorak 2008-07-22 10:46:29 UTC
Hi rajivderas!

I don't think this is really a defect. I would say it should be an enhancement - the feature currently works (all hints
are given to you) but it can be enhanced so that the hints are unique. I will make a P3 enhancement of this, if you
insist that the current behavior is a defect, please feel free to change it back (but in my opinion this should be
classified rather as an enhancement for above mentioned reason).

With regards,

Petr Dvorak
Comment 2 Jiri Prox 2008-09-19 09:36:46 UTC
*** Issue 147655 has been marked as a duplicate of this issue. ***