This is an automated email from the ASF dual-hosted git repository.

majorhe 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 0c4319b2 drop useless code ref#1969
     new 91fcbb4d Merge pull request #1974 from hm-fannie/master
0c4319b2 is described below

commit 0c4319b2b7e7ce7fedefd9e8bc54d9e23d9d73f2
Author: Min Huang <[email protected]>
AuthorDate: Thu Oct 27 17:59:25 2022 +0800

    drop useless code ref#1969
---
 .../org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java
 
b/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java
index d4be4a24..93192b55 100644
--- 
a/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java
+++ 
b/eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java
@@ -48,7 +48,6 @@ public class FileWebHookConfigOperation implements 
WebHookConfigOperation {
     public FileWebHookConfigOperation(Properties properties) throws 
FileNotFoundException {
         String webHookFilePath = 
WebHookOperationConstant.getFilePath(properties.getProperty("filePath"));
 
-        assert webHookFilePath != null;
         File webHookFileDir = new File(webHookFilePath);
         if (!webHookFileDir.exists()) {
             webHookFileDir.mkdirs();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to