You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/07/11 08:12:00 UTC

[GitHub] [rocketmq] Oliverwqcwrw opened a new issue, #4579: Call equals() to compare different types

Oliverwqcwrw opened a new issue, #4579:
URL: https://github.com/apache/rocketmq/issues/4579

   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   In `org.apache.rocketmq.acl.plain.PlainPermissionManager#updateAccessConfig`
   
   > 
   for (Map.Entry<String, PlainAccessResource> entry : accountMap.entrySet()) {
                       if (entry.getValue().equals(plainAccessConfig.getAccessKey())) {
                           PlainAccessResource plainAccessResource = buildPlainAccessResource(plainAccessConfig);
                           accountMap.put(entry.getKey(), plainAccessResource);
                           break;
                       }
                   }
   
   - What did you do (The steps to reproduce)?
   
   - What is expected to see?
   
   compare same types
   
   - What did you see instead?
   
   3. Please tell us about your environment:
   
   4. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
   
   
   


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhiboo commented on issue #4579: Call equals() to compare different types

Posted by GitBox <gi...@apache.org>.
lizhiboo commented on issue #4579:
URL: https://github.com/apache/rocketmq/issues/4579#issuecomment-1181220700

   @Oliverwqcwrw good catch!


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] duhenglucky closed issue #4579: Call equals() to compare different types

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #4579: Call equals() to compare different types
URL: https://github.com/apache/rocketmq/issues/4579


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org