yifan-c commented on code in PR #200:
URL: https://github.com/apache/cassandra-sidecar/pull/200#discussion_r1980406141


##########
server/src/main/java/org/apache/cassandra/sidecar/db/RestoreSliceDatabaseAccessor.java:
##########
@@ -42,10 +42,9 @@ public class RestoreSliceDatabaseAccessor extends 
DatabaseAccessor<RestoreSlices
 
     @Inject
     protected RestoreSliceDatabaseAccessor(SidecarSchema sidecarSchema,
-                                           RestoreSlicesSchema 
restoreSlicesSchema,
                                            CQLSessionProvider 
cqlSessionProvider)
     {
-        super(restoreSlicesSchema, cqlSessionProvider);
+        super(sidecarSchema.tableSchema(RestoreSlicesSchema.class), 
cqlSessionProvider);

Review Comment:
   it is to get the instance using the class to look up. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to