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 112078 - invalid hint 'Assignment To Itself'
Summary: invalid hint 'Assignment To Itself'
Status: RESOLVED DUPLICATE of bug 110495
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 16:12 UTC by athompson
Modified: 2007-08-07 08:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2007-08-06 16:12:13 UTC
1. in 'Tools-->Options-->Hints-->General', make sure 'Assignment To Itself' is checked
2! create class 'Foo' with this code:

public class Foo
{
    private String name;
    private int value;
    
    public Foo(String name, int value)
    {
        this.name = name;
        this.value = value;
    }
    
    public void copy(Foo foo)
    {
        this.name = foo.name;
        this.value = foo.value;
    }
}

the two lines in the 'copy' method are incorrectly highlighted.

Also, capitalization in the 'General' hints option is very inconsistent.
Comment 1 Jiri Prox 2007-08-07 08:38:48 UTC
This is duplicate of issue 110495, Thanks for your report

*** This issue has been marked as a duplicate of 110495 ***