pandaapo commented on code in PR #4544:
URL: https://github.com/apache/eventmesh/pull/4544#discussion_r1388003695


##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/push/AbstractPushRequest.java:
##########
@@ -158,7 +158,7 @@ protected void removeWaitingMap(WebhookPushRequest request) 
{
     }
 
     @Override
-    public void run(Timeout timeout) throws Exception {
+    public void doRun(Timeout timeout) throws Exception {
         tryPushRequest();
     }

Review Comment:
   But this `reput()` method also has no use at all. Could this method be 
removed to make the code clearer and less confusing for developers and readers?
   
   但是这个`rePut()`方法也是没有任何使用的地方。该方法能否优化掉,从而让代码更清楚一些,让开发者和阅读者少些困惑?



##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/push/AbstractPushRequest.java:
##########
@@ -158,7 +158,7 @@ protected void removeWaitingMap(WebhookPushRequest request) 
{
     }
 
     @Override
-    public void run(Timeout timeout) throws Exception {
+    public void doRun(Timeout timeout) throws Exception {
         tryPushRequest();
     }

Review Comment:
   But this `reput()` method also has no use at all. Could this method be 
removed to make the code clearer and less confusing for developers and readers?
   
   但是这个`rePut()`方法也是没有任何使用的地方。该方法能否优化掉,从而让代码更清楚一些,让开发者和阅读者少些困惑?



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