This is an automated email from the ASF dual-hosted git repository.
harshitha pushed a commit to branch harshithasudhakar-eventmesh#4254
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to
refs/heads/harshithasudhakar-eventmesh#4254 by this push:
new e86807448 Update ConfigService.java
e86807448 is described below
commit e8680744843e032a48b51ab49019b009ee01c9e3
Author: Harshitha Sudhakar
<[email protected]>
AuthorDate: Fri Sep 15 16:38:32 2023 +0530
Update ConfigService.java
Fixed compile errors: Removed static import, updated method call(line 163)
---
.../main/java/org/apache/eventmesh/common/config/ConfigService.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigService.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigService.java
index 7c5b17d7e..24982c989 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigService.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/ConfigService.java
@@ -17,7 +17,7 @@
package org.apache.eventmesh.common.config;
-import static
org.apache.eventmesh.common.utils.ReflectUtils.lookUpFieldByParentClass;
+import org.apache.eventmesh.common.utils.ReflectUtils;
import org.apache.commons.lang3.StringUtils;
@@ -160,7 +160,7 @@ public class ConfigService {
try {
field = clazz.getDeclaredField(configInfo.getField());
} catch (NoSuchFieldException e) {
- field = lookUpFieldByParentClass(clazz, configInfo.getField());
+ field = ReflectUtils.lookUpFieldByParentClass(clazz,
configInfo.getField());
if (field == null) {
throw e;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]