negora commented on issue #4709:
URL: https://github.com/apache/netbeans/issues/4709#issuecomment-1952120238

   Just a little update about the first case that I presented in this report. 
If I remove all the fields of the `record` and leave it empty, the warning the 
appears again. Example:
   
   ```java
   public class MyClass {
   
       public void myMethod () {
           int x = 1;
           // ^^^ Unused variable.
       }
   
       private record MyRecord () {
                            // ^^^ Empty record.
       }
   
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to