Tapio Koskinen created NETBEANS-2416:
----------------------------------------

             Summary: Incorrect warning: "Field x is not used"
                 Key: NETBEANS-2416
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2416
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.0
         Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
Java: 12; OpenJDK 64-Bit Server VM 12+33
Runtime: OpenJDK Runtime Environment 12+33
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
            Reporter: Tapio Koskinen


Given the following class Netbeans warns "Field VALUE is not used":
{{ }}
 
{{public class Test {}}
{{    private static final String VALUE = "-";}}

{{    @SuppressWarnings(VALUE)}}
{{    public void test() {}}
{{    }}}
{{}}}
 

 



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

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