gerlowskija commented on code in PR #1740:
URL: https://github.com/apache/solr/pull/1740#discussion_r1262563121


##########
solr/core/src/java/org/apache/solr/handler/SnapShooter.java:
##########
@@ -277,7 +281,8 @@ public void createSnapAsync(final int numberToKeep, 
Consumer<NamedList<?>> resul
    * @see IndexDeletionPolicyWrapper#saveCommitPoint
    * @see IndexDeletionPolicyWrapper#releaseCommitPoint
    */
-  protected NamedList<Object> createSnapshot(final IndexCommit indexCommit) 
throws Exception {
+  protected SnapShooterBackupCoreResponse createSnapshot(final IndexCommit 
indexCommit)

Review Comment:
   Sure, renaming them both consistently makes sense to me?



##########
solr/core/src/java/org/apache/solr/handler/SnapShooter.java:
##########
@@ -277,7 +281,8 @@ public void createSnapAsync(final int numberToKeep, 
Consumer<NamedList<?>> resul
    * @see IndexDeletionPolicyWrapper#saveCommitPoint
    * @see IndexDeletionPolicyWrapper#releaseCommitPoint
    */
-  protected NamedList<Object> createSnapshot(final IndexCommit indexCommit) 
throws Exception {
+  protected SnapShooterBackupCoreResponse createSnapshot(final IndexCommit 
indexCommit)

Review Comment:
   Sure, renaming them both consistently makes sense to me.



-- 
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: issues-unsubscr...@solr.apache.org

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


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

Reply via email to