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.
Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_23 Runtime = Java HotSpot(TM) Client VM 19.0-b09 When class implements intefrace then in code completion methods and fields are duplicated because are taken both from interface and class.
Hmm, tried in NB 7.0 RC2 and it works for me
Could you please attach a reproducible test case? Thanks.
I've invastigated a little more and it happends only when interface and class are of the same name and only for methods (interfaces can't include fields, can they? :)). It happends even if they are in diferend namespaces. for exaple namespace Class; class Router implements \interfaces\Class {...}
Created attachment 107470 [details] example of interface+class
> I've invastigated a little more and it happends only when interface and class are of the same name and only for methods (interfaces can't include fields, can they? :)). It happends even if they are in diferend namespaces. for exaple > namespace Class; > class Router implements \interfaces\Class {...} The example should look like this: namespace Class; class Router implements \interfaces\Class\Router {...}
I cannot reproduce the case when the class and interface has the same name and there are from different namespaces. The case that the interface and name comes from the same namespace is really strange:).
I don't understand, what you are talking about. Your example has syntax errors and if I try to fix it and use your namespaces (which have syntax errors too), it works for me properly. So provide us simple complete reproducible project, where the problem occurs. Until that -> incomplete.