Skip to content

Commit

Permalink
明确 final 变量
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyuheng committed Jan 25, 2021
1 parent fec6682 commit 6117f13
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public class GraphQLProvider implements InitializingBean {
@Value("${arc.graphql.define:graphql/schema.graphqls}")
private String locationPattern;

private PathMatchingResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver();
private TypeDefinitionRegistry typeRegistry = new TypeDefinitionRegistry();
private final PathMatchingResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver();
private final TypeDefinitionRegistry typeRegistry = new TypeDefinitionRegistry();

private DataFetcherInterceptorRegistry dataFetcherInterceptorRegistry;
private final DataFetcherInterceptorRegistry dataFetcherInterceptorRegistry;

public GraphQLProvider(DataFetcherInterceptorRegistry dataFetcherInterceptorRegistry) {
this.dataFetcherInterceptorRegistry = dataFetcherInterceptorRegistry;
Expand Down

0 comments on commit 6117f13

Please sign in to comment.