You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2026/07/16 10:37:17 UTC
(eventmesh) branch develop updated: style: fix checkstyle EmptyLineSeparator in chatgpt sink connector
This is an automated email from the ASF dual-hosted git repository.
qqeasonchen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to refs/heads/develop by this push:
new d714d137e style: fix checkstyle EmptyLineSeparator in chatgpt sink connector
d714d137e is described below
commit d714d137e14d00995f7f2d494d739172bd0a0827
Author: qqeasonchen <qq...@gmail.com>
AuthorDate: Thu Jul 16 18:37:07 2026 +0800
style: fix checkstyle EmptyLineSeparator in chatgpt sink connector
Insert a blank line before each method definition in ChatgptSinkConnector
to satisfy the EmptyLineSeparator check (3 warnings) reported by
:eventmesh-connector-chatgpt:checkstyleMain on CI.
---
.../apache/eventmesh/connector/chatgpt/sink/ChatgptSinkConnector.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eventmesh-connector-plugin/eventmesh-connector-chatgpt/src/main/java/org/apache/eventmesh/connector/chatgpt/sink/ChatgptSinkConnector.java b/eventmesh-connector-plugin/eventmesh-connector-chatgpt/src/main/java/org/apache/eventmesh/connector/chatgpt/sink/ChatgptSinkConnector.java
index 142a9c60f..b63b1e53f 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-chatgpt/src/main/java/org/apache/eventmesh/connector/chatgpt/sink/ChatgptSinkConnector.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-chatgpt/src/main/java/org/apache/eventmesh/connector/chatgpt/sink/ChatgptSinkConnector.java
@@ -30,10 +30,12 @@ import lombok.extern.slf4j.Slf4j;
public class ChatgptSinkConnector implements SinkConnector {
private String webhookUrl;
+
@Override
public void init(Properties props) {
webhookUrl = props.getProperty("connector.webhookUrl", "");
}
+
@Override
public void put(List<CloudEvent> events) {
for (CloudEvent event : events) {
@@ -50,6 +52,7 @@ public class ChatgptSinkConnector implements SinkConnector {
}
}
}
+
@Override
public void commit(List<CloudEvent> written) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org