You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/11/03 14:05:21 UTC
[incubator-eventmesh] branch master updated: fix CI error: common
This is an automated email from the ASF dual-hosted git repository.
mikexue 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 d19efe7c fix CI error: common
new df138b17 Merge pull request #2112 from horoc/fix-ci-error-common
d19efe7c is described below
commit d19efe7c5e24200e7f9fb52cd36f32355dbc6974
Author: horoc <ho...@gmail.com>
AuthorDate: Thu Nov 3 20:07:21 2022 +0800
fix CI error: common
---
.../org/apache/eventmesh/common/config/ConfigurationWrapper.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigurationWrapper.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigurationWrapper.java
index 10d470d6..4bd2c76c 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigurationWrapper.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigurationWrapper.java
@@ -22,6 +22,7 @@ import org.apache.eventmesh.common.file.FileChangeListener;
import org.apache.eventmesh.common.file.WatchFileManager;
import org.apache.commons.lang3.StringUtils;
+import org.apache.logging.log4j.util.Strings;
import java.io.BufferedReader;
import java.io.File;
@@ -30,11 +31,9 @@ import java.io.IOException;
import java.util.Map.Entry;
import java.util.Properties;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.apache.logging.log4j.util.Strings;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
@@ -65,7 +64,7 @@ public class ConfigurationWrapper {
};
public ConfigurationWrapper(String directoryPath, String fileName, boolean reload) {
- Preconditions.checkArgument(Strings.isNotEmpty(directoryPath),"please configure environment variable 'confPath'");
+ Preconditions.checkArgument(Strings.isNotEmpty(directoryPath), "please configure environment variable 'confPath'");
this.directoryPath = directoryPath
.replace('/', File.separator.charAt(0))
.replace('\\', File.separator.charAt(0));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org