You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "Alonexc (via GitHub)" <gi...@apache.org> on 2023/03/22 07:55:56 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #3506: [Enhancement] The return is used directly in the loop.

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: issues-unsubscribe@eventmesh.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org


[GitHub] [eventmesh] mytang0 closed issue #3506: [Enhancement] The return is used directly in the loop.

Posted by "mytang0 (via GitHub)" <gi...@apache.org>.
mytang0 closed issue #3506: [Enhancement] The return is used directly in the loop.
URL: https://github.com/apache/eventmesh/issues/3506


-- 
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: issues-unsubscribe@eventmesh.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org