teamconfx opened a new pull request, #4580:
URL: https://github.com/apache/cassandra/pull/4580

   This PR fix 
[CASSANDRA-21096](https://issues.apache.org/jira/browse/CASSANDRA-21096)
   
   
   ### Issue
   
     MapMBeanWrapper.queryNames() returned null instead of an empty Set, 
violating the MBeanWrapper interface contract. This caused NullPointerException 
when GCInspector iterates over the result during nodetool operations.
   
   ### Fix Applied
   ```javan
      @Override
      public Set<ObjectName> queryNames(ObjectName name, QueryExp query)
      {
     -    return null;
     +    return Collections.emptySet();
      }
   ```
   


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

Reply via email to