You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2023/02/25 14:44:35 UTC
[incubator-eventmesh] branch master updated: [ISSUE #3102] integer multiplication implicitly cast to long (#3109)
This is an automated email from the ASF dual-hosted git repository.
jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 987378d28 [ISSUE #3102] integer multiplication implicitly cast to long (#3109)
987378d28 is described below
commit 987378d286eb210fd6a4a3eb21c57d2df001cd02
Author: Piyush <11...@users.noreply.github.com>
AuthorDate: Sat Feb 25 20:14:28 2023 +0530
[ISSUE #3102] integer multiplication implicitly cast to long (#3109)
* Solved issue #3102
* Update AbstractHTTPPushRequest.java
Added space in line 89
---
.../runtime/core/protocol/http/push/AbstractHTTPPushRequest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/AbstractHTTPPushRequest.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/AbstractHTTPPushRequest.java
index f60085ef2..42ad2cedd 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/AbstractHTTPPushRequest.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/AbstractHTTPPushRequest.java
@@ -86,7 +86,7 @@ public abstract class AbstractHTTPPushRequest extends RetryContext {
public void delayRetry() {
if (retryTimes < EventMeshConstants.DEFAULT_PUSH_RETRY_TIMES) {
retryTimes++;
- delay(retryTimes * EventMeshConstants.DEFAULT_PUSH_RETRY_TIME_DISTANCE_IN_MILLSECONDS);
+ delay((long) retryTimes * EventMeshConstants.DEFAULT_PUSH_RETRY_TIME_DISTANCE_IN_MILLSECONDS);
retryer.pushRetry(this);
} else {
complete.compareAndSet(Boolean.FALSE, Boolean.TRUE);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org