You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Giuseppe Tino (JIRA)" <ji...@apache.org> on 2019/03/16 18:27:00 UTC

[jira] [Updated] (NETBEANS-685) Push down dialog allows pushing down methods from implemented interface

     [ https://issues.apache.org/jira/browse/NETBEANS-685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giuseppe Tino updated NETBEANS-685:
-----------------------------------
    Affects Version/s: 11.0

> Push down dialog allows pushing down methods from implemented interface
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-685
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-685
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Refactoring
>    Affects Versions: 9.0, 11.0
>            Reporter: Manikantan Narender Nath
>            Priority: Major
>
> Test Spec: http://netbeans-vm.apache.org/synergy/client/app/#/specification/351
> Test Suite: http://netbeans-vm.apache.org/synergy/client/app/#/suite/2023/v/1
> test Case : [http://netbeans-vm.apache.org/synergy/client/app/#/case/5134/suite/2023/v/1]
>  
> Environment:
> *Product Version:* Apache NetBeans IDE Dev (Build incubator-netbeans-linux-408-on-20180417)
> *Java:* 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> *Runtime:* Java(TM) SE Runtime Environment 10+46
> *System:* Mac OS X version 10.12.6 running on x86_64; UTF-8; en_IN (nb)
>  
> Steps to reproduce
>  # Open Project Java Refactoring (Attached with test spec)
>  # OPen push_pull.ClassB.java
>  # Place cursor/Caret on method _public String getSequence(int i)_ 
>  # From popup menu chose Refactor | Push down
>  # Click Preview
>  # Click Do Refactoring
> Expected Result
> Push Down dialog should not allow refactoring since _public String getSequence(int i)_ is defined in interface
> Actual result
> Push down dialog allows refactoring, refactoring is possible but push_pull.ClassB.java is not compilable since it is not declared abstract or implements methods from interface



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists