onichols-pivotal commented on pull request #6106:
URL: https://github.com/apache/geode/pull/6106#issuecomment-796236320


   > PMD flagged the static ConcurrentHashMaps I was using to prevent multiple 
file watches from being created for the same path. So I need to figure out a 
different way to do this without static mutable state.
   
   PMD is not particularly smart...don't change perfectly good code _just_ to 
play games with PMD.  I believe you can annotate it with @Immutable to suppress 
the PMD message.  
   


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


Reply via email to