[ https://issues.apache.org/jira/browse/NETBEANS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tapio Koskinen closed NETBEANS-2416. ------------------------------------ Resolution: Cannot Reproduce This does not happen anymore, even though "nothing" has changed. > 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 > Priority: Major > > 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