Optimize plugin selector logic. (#651)
This commit is contained in:
parent
5063985516
commit
6220af1172
|
|
@ -25,6 +25,7 @@ Release Notes.
|
|||
* Bump Lombok to 1.18.30 to adopt JDK21 compiling.
|
||||
* Fix PostgreSQL Jdbc URL parsing exception.
|
||||
* Bump up grpc version.
|
||||
* Optimize plugin selector logic.
|
||||
|
||||
#### Documentation
|
||||
* Fix JDK requirement in the compiling docs.
|
||||
|
|
|
|||
|
|
@ -52,13 +52,13 @@ public enum PluginCfg {
|
|||
LOGGER.error(e, "Failed to format plugin({}) define.", pluginDefine);
|
||||
}
|
||||
}
|
||||
pluginClassList = pluginSelector.select(pluginClassList);
|
||||
} finally {
|
||||
input.close();
|
||||
}
|
||||
}
|
||||
|
||||
public List<PluginDefine> getPluginClassList() {
|
||||
pluginClassList = pluginSelector.select(pluginClassList);
|
||||
return pluginClassList;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue