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

hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b8ad89f63 [type:fix] fix class AdminConstants has word spelling 
error(#5636) (#5637)
8b8ad89f63 is described below

commit 8b8ad89f635b5cf13d19c867f91f86412b05e085
Author: IceFoxs <yuntao_z...@163.com>
AuthorDate: Thu Aug 29 21:21:09 2024 +0800

    [type:fix] fix class AdminConstants has word spelling error(#5636) (#5637)
    
    * optimize start.sh ,support different jdk configure JAVA_OPTS parameter
    
    optimize start.sh ,support different jdk configure JAVA_OPTS parameter
    
    * fix start.bat ,support different JDK work and logs dir
    
    * Update start.bat
    
    * fix start.bat(ISSUE#2814)
    
    fix start.bat [shenyu-bootstrap-dist missing agent parameter in start.bat 
script (Issue #2814)]
    
    * Revert "fix start.bat(ISSUE#2814)"
    
    This reverts commit cf002c93be6655b85dfc3fd9c395b7bfbe3999eb.
    
    * fix start.bat (Issue #2814)
    
    * Update start.bat
    
    * fix stop.sh exxcute failed in macos
    
    * fix stop.sh execute failed in macos (#3187)
    
    * fix stop.sh execute failed in macos (#3187)
    
    * [type:fix] fix class AdminConstants has word spelling error(#5636)
---
 .../java/org/apache/shenyu/admin/service/impl/PluginServiceImpl.java    | 2 +-
 .../src/main/java/org/apache/shenyu/common/constant/AdminConstants.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/PluginServiceImpl.java
 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/PluginServiceImpl.java
index 6d294d74d2..a0d80daf95 100644
--- 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/PluginServiceImpl.java
+++ 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/PluginServiceImpl.java
@@ -370,7 +370,7 @@ public class PluginServiceImpl implements PluginService {
                 return false;
             }
             Set<String> dependencyTree = 
JarDependencyUtils.getDependencyTree(file);
-            return 
dependencyTree.contains(AdminConstants.PLUGIN_ABSTRACR_PATH) || 
dependencyTree.contains(AdminConstants.PLUGIN_INTERFACE_PATH);
+            return 
dependencyTree.contains(AdminConstants.PLUGIN_ABSTRACT_PATH) || 
dependencyTree.contains(AdminConstants.PLUGIN_INTERFACE_PATH);
         } catch (Exception e) {
             LogUtils.error(LOG, "check plugin jar error:{}", e.getMessage());
             throw new ShenyuException(e);
diff --git 
a/shenyu-common/src/main/java/org/apache/shenyu/common/constant/AdminConstants.java
 
b/shenyu-common/src/main/java/org/apache/shenyu/common/constant/AdminConstants.java
index e3389226cb..0fa874d683 100644
--- 
a/shenyu-common/src/main/java/org/apache/shenyu/common/constant/AdminConstants.java
+++ 
b/shenyu-common/src/main/java/org/apache/shenyu/common/constant/AdminConstants.java
@@ -293,7 +293,7 @@ public final class AdminConstants {
 
     public static final String PLUGIN_INTERFACE_PATH = 
"org.apache.shenyu.plugin.api.ShenyuPlugin";
 
-    public static final String PLUGIN_ABSTRACR_PATH = 
"org.apache.shenyu.plugin.base.AbstractShenyuPlugin";
+    public static final String PLUGIN_ABSTRACT_PATH = 
"org.apache.shenyu.plugin.base.AbstractShenyuPlugin";
 
     public static final String PROXY_SELECTOR_NAME_IS_EXIST = "The proxy 
selector name already exists and can't be added repeatedly!";
 

Reply via email to