Skip to content

Commit

Permalink
[type:fix] fix class AdminConstants has word spelling error(#5636) (#…
Browse files Browse the repository at this point in the history
…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 cf002c9.

* 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)
  • Loading branch information
IceFoxs authored Aug 29, 2024
1 parent 1f5b5cd commit 8b8ad89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private boolean checkFile(final byte[] file) {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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!";

Expand Down

0 comments on commit 8b8ad89

Please sign in to comment.