[jira] [Updated] (NETBEANS-4070) JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method
[ https://issues.apache.org/jira/browse/NETBEANS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4070: - Labels: pull-request-available (was: ) > JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of > parameters of a method when the method overrides the parent method > -- > > Key: NETBEANS-4070 > URL: https://issues.apache.org/jira/browse/NETBEANS-4070 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc >Affects Versions: 11.0, 11.2, 11.3 >Reporter: Dmitry.Mochalov >Assignee: Dmitry.Mochalov >Priority: Minor > Labels: pull-request-available > Attachments: 2020-03-25_22-11-32.png, 2020-03-25_22-13-22.png > > > Steps to reproduce: > 1) Create a class that extends AbstractList > 2) Override the addAll method and add Javadoc like this: > {code:java} > public class ListImpl extends AbstractList {/** > * Description. 0. ListImpl. > * > * @return 1. ListImpl. > * > * @param index 2. ListImpl. > * > * @throws {@inheritDoc} > */ > @Override > public boolean addAll(int index, > Collection c) throws > ClassCastException,IndexOutOfBoundsException { > return true; > }@Override > public E get(int index) { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }@Override > public int size() { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }} > {code} > > > The ToolTip shows this (see the first attachment): > !2020-03-25_22-11-32.png! > > but should show this (see the second attachment): > !2020-03-25_22-13-22.png! > > If a parameter has a Javadoc description in the local method Javadoc should > use it. If a parameter doesn't have a local description Javadoc should use > description inherited from the parent. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4070) JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method
[ https://issues.apache.org/jira/browse/NETBEANS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry.Mochalov updated NETBEANS-4070: -- Description: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: {code:java} public class ListImpl extends AbstractList {/** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; }@Override public E get(int index) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }@Override public int size() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }} {code} The ToolTip shows this (see the first attachment): !2020-03-25_22-11-32.png! but should show this (see the second attachment): !2020-03-25_22-13-22.png! If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. was: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: {code:java} public class ListImpl extends AbstractList {/** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; }@Override public E get(int index) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }@Override public int size() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }} {code} The ToolTip shows this (see the first attachment): but should show this (see the second attachment): If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. > JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of > parameters of a method when the method overrides the parent method > -- > > Key: NETBEANS-4070 > URL: https://issues.apache.org/jira/browse/NETBEANS-4070 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc >Affects Versions: 11.0, 11.2, 11.3 >Reporter: Dmitry.Mochalov >Assignee: Dmitry.Mochalov >Priority: Minor > Attachments: 2020-03-25_22-11-32.png, 2020-03-25_22-13-22.png > > > Steps to reproduce: > 1) Create a class that extends AbstractList > 2) Override the addAll method and add Javadoc like this: > {code:java} > public class ListImpl extends AbstractList {/** > * Description. 0. ListImpl. > * > * @return 1. ListImpl. > * > * @param index 2. ListImpl. > * > * @throws {@inheritDoc} > */ > @Override > public boolean addAll(int index, > Collection c) throws > ClassCastException,IndexOutOfBoundsException { > return true; > }@Override > public E get(int index) { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }@Override > public int size() { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }} > {code} > > > The ToolTip shows this (see the first attachment): > !2020-03-25_22-11-32.png! > > but should show this (see the second attachment): > !2020-03-25_22-13-22.png! > > If a parameter has a Javadoc description in the local method Javadoc should > use it. If a parameter doesn't have a local description Javadoc should use > description inherited from the parent. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans
[jira] [Updated] (NETBEANS-4070) JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method
[ https://issues.apache.org/jira/browse/NETBEANS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry.Mochalov updated NETBEANS-4070: -- Description: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: {code:java} public class ListImpl extends AbstractList {/** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; }@Override public E get(int index) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }@Override public int size() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }} {code} The ToolTip shows this (see the first attachment): but should show this (see the second attachment): If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. was: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: public class ListImpl extends AbstractList { /** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; } ... ... (other methods)... ... } The ToolTip shows this (see the first attachment): but should show this (see the second attachment): If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. > JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of > parameters of a method when the method overrides the parent method > -- > > Key: NETBEANS-4070 > URL: https://issues.apache.org/jira/browse/NETBEANS-4070 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc >Affects Versions: 11.0, 11.2, 11.3 >Reporter: Dmitry.Mochalov >Assignee: Dmitry.Mochalov >Priority: Minor > Attachments: 2020-03-25_22-11-32.png, 2020-03-25_22-13-22.png > > > Steps to reproduce: > 1) Create a class that extends AbstractList > 2) Override the addAll method and add Javadoc like this: > {code:java} > public class ListImpl extends AbstractList {/** > * Description. 0. ListImpl. > * > * @return 1. ListImpl. > * > * @param index 2. ListImpl. > * > * @throws {@inheritDoc} > */ > @Override > public boolean addAll(int index, > Collection c) throws > ClassCastException,IndexOutOfBoundsException { > return true; > }@Override > public E get(int index) { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }@Override > public int size() { > throw new UnsupportedOperationException("Not supported yet."); //To > change body of generated methods, choose Tools | Templates. > }} > {code} > > > The ToolTip shows this (see the first attachment): > > > but should show this (see the second attachment): > > > If a parameter has a Javadoc description in the local method Javadoc should > use it. If a parameter doesn't have a local description Javadoc should use > description inherited from the parent. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4070) JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method
[ https://issues.apache.org/jira/browse/NETBEANS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry.Mochalov updated NETBEANS-4070: -- Summary: JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method (was: JavaDoc in tooltip (clrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method) > JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of > parameters of a method when the method overrides the parent method > -- > > Key: NETBEANS-4070 > URL: https://issues.apache.org/jira/browse/NETBEANS-4070 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc >Affects Versions: 11.0, 11.2, 11.3 >Reporter: Dmitry.Mochalov >Assignee: Dmitry.Mochalov >Priority: Minor > Attachments: 2020-03-25_22-11-32.png, 2020-03-25_22-13-22.png > > > Steps to reproduce: > 1) Create a class that extends AbstractList > 2) Override the addAll method and add Javadoc like this: > public class ListImpl extends AbstractList > { /** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param > index 2. ListImpl. * * @throws \\{@inheritDoc} > */ > @Override > public boolean addAll(int index, > Collection c) throws > ClassCastException,IndexOutOfBoundsException > { return true; } > ... > ... (other methods)... > ... > } > The ToolTip shows this (see the first attachment): > > > but should show this (see the second attachment): > > > If a parameter has a Javadoc description in the local method Javadoc should > use it. If a parameter doesn't have a local description Javadoc should use > description inherited from the parent. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4070) JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method
[ https://issues.apache.org/jira/browse/NETBEANS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry.Mochalov updated NETBEANS-4070: -- Description: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: public class ListImpl extends AbstractList { /** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; } ... ... (other methods)... ... } The ToolTip shows this (see the first attachment): but should show this (see the second attachment): If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. was: Steps to reproduce: 1) Create a class that extends AbstractList 2) Override the addAll method and add Javadoc like this: public class ListImpl extends AbstractList { /** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param index 2. ListImpl. * * @throws \\{@inheritDoc} */ @Override public boolean addAll(int index, Collection c) throws ClassCastException,IndexOutOfBoundsException { return true; } ... ... (other methods)... ... } The ToolTip shows this (see the first attachment): but should show this (see the second attachment): If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent. > JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of > parameters of a method when the method overrides the parent method > -- > > Key: NETBEANS-4070 > URL: https://issues.apache.org/jira/browse/NETBEANS-4070 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc >Affects Versions: 11.0, 11.2, 11.3 >Reporter: Dmitry.Mochalov >Assignee: Dmitry.Mochalov >Priority: Minor > Attachments: 2020-03-25_22-11-32.png, 2020-03-25_22-13-22.png > > > Steps to reproduce: > 1) Create a class that extends AbstractList > 2) Override the addAll method and add Javadoc like this: > public class ListImpl extends AbstractList > { /** * Description. 0. ListImpl. * * @return 1. ListImpl. * * @param > index 2. ListImpl. * * @throws > {@inheritDoc} > */ > @Override > public boolean addAll(int index, > Collection c) throws > ClassCastException,IndexOutOfBoundsException > { return true; } > ... > ... (other methods)... > ... > } > The ToolTip shows this (see the first attachment): > > > but should show this (see the second attachment): > > > If a parameter has a Javadoc description in the local method Javadoc should > use it. If a parameter doesn't have a local description Javadoc should use > description inherited from the parent. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists