Bug 87239 - [quick fix] wrong visibility for overriding method in interface
Summary: [quick fix] wrong visibility for overriding method in interface
Status: CLOSED DUPLICATE of bug 394692
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: rgra Missing name CLA
QA Contact:
URL:
Whiteboard: fix candidate
Keywords: bugday
: 377243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-06 17:13 EST by Markus Keller CLA
Modified: 2013-03-12 08:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-03-06 17:13:01 EST
I20050301-1230

In the example below, the quick fix proposes to change the visibilty of B#xxx()
to default - which is an empty change. It should propose to change to public.

interface I {
	void xxx();
}

class A {
	void xxx() {}
}

class B extends A implements I {
	void xxx() {} //error
}
Comment 1 Deepak Azad CLA 2012-04-23 01:18:04 EDT
(In reply to comment #0)
> the quick fix proposes to change the visibilty of B#xxx()
> to default 

It also offers to change the visibility of A#xxx() to default.
Comment 2 Deepak Azad CLA 2012-04-23 01:20:52 EDT
*** Bug 377243 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2013-03-12 08:26:32 EDT

*** This bug has been marked as a duplicate of bug 394692 ***