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:54 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #3505: [Enhancement] Enhancement title

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

   ### 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/226833758-3f11c826-671c-401b-bd3d-e2bc417ec951.png)
   ![image](https://user-images.githubusercontent.com/91315508/226833770-a01a6015-8060-4a34-9a43-5a6a4bd4af0d.png)
   ![image](https://user-images.githubusercontent.com/91315508/226833780-3f337746-b245-495c-9fe3-6a02142ef354.png)
   located at:
   eventmesh-registry-plugin/eventmesh-registry-etcd/src/main/java/org/apache/eventmesh/registry/etcd/service/EtcdRegistryService.java line 185,274,207
   
   
   ### Describe the solution you'd like
   
   a. return an empty map/collection instead of null.
   ![image](https://user-images.githubusercontent.com/91315508/226834102-198d1c59-a463-478d-804c-270abec2a4d5.png)
   ![image](https://user-images.githubusercontent.com/91315508/226834112-762ff58c-0344-413b-b6e1-753a662f25a8.png)
   
   b. use Objects.requireNonNull().
   ![image](https://user-images.githubusercontent.com/91315508/226834151-91fadcc3-2c09-42a1-a50b-007e30e39e4d.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] xwm1992 closed issue #3505: [Enhancement] Do some code optimization[EtcdRegistryService]

Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #3505: [Enhancement] Do some code optimization[EtcdRegistryService]
URL: https://github.com/apache/eventmesh/issues/3505


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