Skip to content

Commit

Permalink
Optimize plugin selector logic. (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
weixiang1862 committed Dec 1, 2023
1 parent 5063985 commit 6220af1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ void load(InputStream input) throws IOException {
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;
}

Expand Down

0 comments on commit 6220af1

Please sign in to comment.