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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to