Skip to content

Commit

Permalink
Format optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
CLFutureX committed Oct 12, 2022
1 parent 3c6b4af commit 3918476
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public ConfigFilterChainManager(Properties properties) {
buildConfigFilterChain();
}

/**
* Build ConfigFilterChain.
*/
public void buildConfigFilterChain() {
filterChain = new EmptyFilterChainNode();
for (int i = filters.size() - 1; i >= 0; i--) {
Expand Down Expand Up @@ -104,7 +107,7 @@ public FilterChainNode(IConfigFilter filter, IConfigFilterChain next) {
public void doFilter(IConfigRequest request, IConfigResponse response) throws NacosException {
filter.doFilter(request, response, next);
}
}
}


private static class EmptyFilterChainNode implements IConfigFilterChain {
Expand Down

0 comments on commit 3918476

Please sign in to comment.