Skip to content

Commit

Permalink
[type:fix] fix class AdminConstants has word spelling error(apache#5636)
Browse files Browse the repository at this point in the history
  • Loading branch information
IceFoxs committed Aug 29, 2024
1 parent 6b2dcf4 commit b25c114
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 b25c114

Please sign in to comment.