[ 
https://issues.apache.org/jira/browse/NETBEANS-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17078791#comment-17078791
 ] 

Zsolt Holman commented on NETBEANS-4133:
----------------------------------------

public class JoinConsecutiveIfsIntoIfElse {

    public void method(boolean cond1, boolean cond2) {
        if(cond1) {
            
        } else { //Hint: Join nested if into the enclosing if

> Hint does not appear in some cases
> ----------------------------------
>
>                 Key: NETBEANS-4133
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4133
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Editor
>    Affects Versions: 12.0
>         Environment: Ubuntu 19.10
> 7,7 GiB
> Intel® Core™ i5-5200U CPU @ 2.20GHz × 4 
>            Reporter: Zsolt Holman
>            Priority: Minor
>         Attachments: AddUnderscores.java, CreateJavadoc.java, 
> ErrorInJavadoc.java
>
>
> Missing hints are in 'javadoc' package:
>     //Scope is private or package 
>     void method3() {} //*Hint: create missing javadoc for method3*
>         
>     //Scope is private
>     private void method4() {} //*Hint: create missing javadoc for method4*
>     //Scope is private or package 
>     /**
>      * 
>      * @param x  //*Hint: Remove @param tag*
>      */
>     void method() {}
>     
>     //Scope is private    
>     /**
>      *           
>      */
>     private String method4() {return "";}  //*Hint: Add @return tag*



--
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

Reply via email to