TeslaCN commented on a change in pull request #16530:
URL: https://github.com/apache/shardingsphere/pull/16530#discussion_r840232764



##########
File path: 
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/instance/InstanceContext.java
##########
@@ -42,12 +43,15 @@
     
     private final ModeConfiguration modeConfiguration;
     
+    private final LockContext lockContext;
+    
     private final Collection<ComputeNodeInstance> computeNodeInstances = new 
LinkedList<>();
     
-    public InstanceContext(final ComputeNodeInstance instance, final 
WorkerIdGenerator workerIdGenerator, final ModeConfiguration modeConfiguration) 
{
+    public InstanceContext(final ComputeNodeInstance instance, final 
WorkerIdGenerator workerIdGenerator, final ModeConfiguration modeConfiguration, 
final LockContext lockContext) {

Review comment:
       Could we replace this with `@RequiredArgsConstructor`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to