Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 443987

Summary: [quick fix] quick-fix to "Cannot reduce the visibility of the inherited method" for interfaces
Product: [Eclipse Project] JDT Reporter: Zorzella Mising name <zorzella>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: martinae, noopur_gupta
Version: 3.8.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Zorzella Mising name CLA 2014-09-12 14:44:07 EDT
This is identical to https://bugs.eclipse.org/bugs/show_bug.cgi?id=38147 except for "implements", rather than "extends", as in:

public class OverrideMustBePublicQuickFix {

  static class Bar implements Runnable {

    @Override
    private void run() {}
  }
}

There should be a quick fix to make the method public.
Comment 1 Noopur Gupta CLA 2014-09-17 06:18:47 EDT
We do not get the quick fix when the overriding method is 'private'.
Otherwise, we get the quick fix to change its visibility to 'public'.
Comment 2 Eclipse Genie CLA 2020-03-12 07:44:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.