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 2022/11/29 08:55:04 UTC
[incubator-eventmesh] branch master updated: [ISSUE #2243] Change Boolean to boolean in NacosWebHookConfigOperation (#2290)
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 c7ce4f14e [ISSUE #2243] Change Boolean to boolean in NacosWebHookConfigOperation (#2290)
c7ce4f14e is described below
commit c7ce4f14e2a662cc9b8763116373ef21e7270a30
Author: Bigotry <61...@users.noreply.github.com>
AuthorDate: Tue Nov 29 16:54:59 2022 +0800
[ISSUE #2243] Change Boolean to boolean in NacosWebHookConfigOperation (#2290)
* Change Boolean to boolean
* delete Chinese comment
---
.../apache/eventmesh/webhook/admin/NacosWebHookConfigOperation.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/NacosWebHookConfigOperation.java b/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/NacosWebHookConfigOperation.java
index 36bba361d..fcd4573a7 100644
--- a/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/NacosWebHookConfigOperation.java
+++ b/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/NacosWebHookConfigOperation.java
@@ -106,7 +106,7 @@ public class NacosWebHookConfigOperation implements WebHookConfigOperation {
@Override
public Integer updateWebHookConfig(WebHookConfig webHookConfig) {
- Boolean result = false;
+ boolean result = false;
try {
if (configService.getConfig(getWebHookConfigDataId(webHookConfig), getManuGroupId(webHookConfig), TIMEOUT_MS) == null) {
logger.error("updateWebHookConfig failed, config is not existed");
@@ -122,7 +122,7 @@ public class NacosWebHookConfigOperation implements WebHookConfigOperation {
@Override
public Integer deleteWebHookConfig(WebHookConfig webHookConfig) {
- Boolean result = false;
+ boolean result = false;
String manufacturerName = webHookConfig.getManufacturerName();
try {
result = configService.removeConfig(getWebHookConfigDataId(webHookConfig), getManuGroupId(webHookConfig));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org