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 d7d2623da [ISSUE #3384]Remove the public modifier from the interface 
method
     new c6451fdaa Merge pull request #3385 from mxsm/eventmesh-3384
d7d2623da is described below

commit d7d2623daff56d7b0d451b4db2278026647bd8b6
Author: mxsm <[email protected]>
AuthorDate: Thu Mar 9 23:33:45 2023 +0800

    [ISSUE #3384]Remove the public modifier from the interface method
---
 .../src/main/java/org/apache/eventmesh/common/config/FileLoad.java    | 2 +-
 .../main/java/org/apache/eventmesh/api/registry/RegistryService.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java
 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java
index 8bd3e3059..1152505f9 100644
--- 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java
+++ 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java
@@ -41,7 +41,7 @@ public interface FileLoad {
 
     YamlFileLoad YAML_FILE_LOAD = new YamlFileLoad();
 
-    public static FileLoad getFileLoad(String fileType) {
+    static FileLoad getFileLoad(String fileType) {
         if (Objects.equals("properties", fileType)) {
             return PROPERTIES_FILE_LOAD;
         } else if (Objects.equals("yaml", fileType)) {
diff --git 
a/eventmesh-registry-plugin/eventmesh-registry-api/src/main/java/org/apache/eventmesh/api/registry/RegistryService.java
 
b/eventmesh-registry-plugin/eventmesh-registry-api/src/main/java/org/apache/eventmesh/api/registry/RegistryService.java
index c9be0da70..577b692d8 100644
--- 
a/eventmesh-registry-plugin/eventmesh-registry-api/src/main/java/org/apache/eventmesh/api/registry/RegistryService.java
+++ 
b/eventmesh-registry-plugin/eventmesh-registry-api/src/main/java/org/apache/eventmesh/api/registry/RegistryService.java
@@ -54,7 +54,7 @@ public interface RegistryService {
 
     boolean unRegister(EventMeshUnRegisterInfo eventMeshUnRegisterInfo) throws 
RegistryException;
 
-    public EventMeshAppSubTopicInfo findEventMeshAppSubTopicInfoByGroup(String 
group) throws RegistryException;
+    EventMeshAppSubTopicInfo findEventMeshAppSubTopicInfoByGroup(String group) 
throws RegistryException;
 
-    public List<EventMeshServicePubTopicInfo> 
findEventMeshServicePubTopicInfos() throws RegistryException;
+    List<EventMeshServicePubTopicInfo> findEventMeshServicePubTopicInfos() 
throws RegistryException;
 }


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

Reply via email to