Skip to content

Commit

Permalink
Canonical setter name.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanrongzhen committed Nov 3, 2023
1 parent 34f6067 commit e56b2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private SendExcepionContext convertToExceptionContext(CloudEvent event, Throwabl
SendExcepionContext exceptionContext = new SendExcepionContext();
exceptionContext.setTopic(event.getId());
exceptionContext.setMessageId(event.getId());
exceptionContext.setException(cause);
exceptionContext.setCause(cause);
return exceptionContext;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Throwable getCause() {
return this.cause;
}

public void setException(Throwable cause) {
public void setCause(Throwable cause) {
this.cause = cause;
}
}

0 comments on commit e56b2f8

Please sign in to comment.