BradWalker edited a comment on issue #1872: [NETBEANS-3695] - not proper to use 
a static variable through a refer…
URL: https://github.com/apache/netbeans/pull/1872#issuecomment-575251997
 
 
   I have used the changes as part of my day-to-day use of Netbeans. It works 
correctly and the C/C++ module continued to run with no problem.  Most of the 
changes are pretty benign: instead of referencing a class static field through 
a reference we use the properly qualified type..
   
   For example (from a diff),
   
   ```
               - if (next.getNodeType() == next.DOCUMENT_TYPE_NODE) {
               + if (next.getNodeType() == Node.DOCUMENT_TYPE_NODE) {
   ```
   
   Notice how I'm only referencing the class field.. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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