You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/01/16 17:11:31 UTC

[GitHub] [netbeans] BradWalker commented on issue #1872: [NETBEANS-3695] - not proper to use a static variable through a refer…

BradWalker commented 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,
   
   ```
               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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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