Alonexc opened a new issue, #3506:
URL: https://github.com/apache/incubator-eventmesh/issues/3506

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   
![image](https://user-images.githubusercontent.com/91315508/226834308-6333c5bd-58d9-411a-aeef-a0c61a0bdf93.png)
   located at:
   
eventmesh-registry-plugin/eventmesh-registry-etcd/src/main/java/org/apache/eventmesh/registry/etcd/service/EtcdCustomService.java
 line 96
   analysis and explanation:
   A loop with at most one iteration is equivalent to the use of an if 
statement to conditionally execute one piece of code. No developer expects to 
find such a use of a loop statement.
   
   
   ### Describe the solution you'd like
   
   e.g.
   
![image](https://user-images.githubusercontent.com/91315508/226834364-a6e71820-9581-458a-bc76-e87b3f8f76f1.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


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