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

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #3407: [Enhancement] Make this anonymous inner class a lambda[SendSyncMessageProcessor]

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

   ### 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/224204041-afa4fd1d-8d1b-4fa7-8850-dc4f5c56a727.png)
   located at:
   eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SendSyncMessageProcessor.java line 260
   analysis and explanation:
   Before Java 8, the only way to partially support closures in Java was by using anonymous inner classes. But the syntax of anonymous classes may seem unwieldy and unclear.
   With Java 8, most uses of anonymous inner classes should be replaced by lambdas to highly increase the readability of the source code.
   
   
   ### Describe the solution you'd like
   
   ![image](https://user-images.githubusercontent.com/91315508/224204081-0568b071-0b21-4b7a-a600-aee4b4048478.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: dev-unsubscribe@eventmesh.apache.org.apache.org

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


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


[GitHub] [eventmesh] Alonexc commented on issue #3407: [Enhancement] Make this anonymous inner class a lambda[SendSyncMessageProcessor]

Posted by "Alonexc (via GitHub)" <gi...@apache.org>.
Alonexc commented on issue #3407:
URL: https://github.com/apache/eventmesh/issues/3407#issuecomment-1504408146

   @Sunstreaker Welcome to your 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

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] Sunstreaker commented on issue #3407: [Enhancement] Make this anonymous inner class a lambda[SendSyncMessageProcessor]

Posted by "Sunstreaker (via GitHub)" <gi...@apache.org>.
Sunstreaker commented on issue #3407:
URL: https://github.com/apache/eventmesh/issues/3407#issuecomment-1504384988

    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

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 #3407: [Enhancement] Make this anonymous inner class a lambda[SendSyncMessageProcessor]

Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #3407: [Enhancement] Make this anonymous inner class a lambda[SendSyncMessageProcessor]
URL: https://github.com/apache/eventmesh/issues/3407


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