Skip to content

Commit

Permalink
serviceRegistry should set to final to make code more clear (spring-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
skyao authored and spencergibb committed Aug 16, 2017
1 parent a6b7f70 commit 72f9b83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@SuppressWarnings("deprecation")
public abstract class AbstractAutoServiceRegistration<R extends Registration> extends AbstractDiscoveryLifecycle implements AutoServiceRegistration {

private ServiceRegistry<R> serviceRegistry;
private final ServiceRegistry<R> serviceRegistry;

protected AbstractAutoServiceRegistration(ServiceRegistry<R> serviceRegistry) {
this.serviceRegistry = serviceRegistry;
Expand Down

0 comments on commit 72f9b83

Please sign in to comment.