Skip to content

Commit

Permalink
fix: 抽象类构造函数不应是公共的 【JAVA-W1094】
Browse files Browse the repository at this point in the history
  • Loading branch information
KouShenhai committed Jul 20, 2024
1 parent c8ce4a1 commit 43e1262
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
public abstract class AbstractSendCaptchaEventHandler extends AbstractDomainEventHandler {

public AbstractSendCaptchaEventHandler(DomainEventPublisher domainEventPublisher) {
protected AbstractSendCaptchaEventHandler(DomainEventPublisher domainEventPublisher) {
super(domainEventPublisher);
}

Expand All @@ -45,7 +45,7 @@ protected void handleDomainEvent(DefaultDomainEvent domainEvent) {
ApiLog apiLog = getApiLog(event);
CallApiEvent callApiEvent = new CallApiEvent(apiLog);
callApiEvent.create(LAOKOU_LOG_TOPIC, API_TAG, API, CREATED, event.getAppName(), event.getSourceName(),
apiLog.getTimestamp(), event.getAggregateId());
apiLog.getTimestamp(), event.getAggregateId());
domainEventPublisher.publishToCreate(callApiEvent);
}

Expand Down

0 comments on commit 43e1262

Please sign in to comment.