You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by br...@apache.org on 2024/05/13 13:54:35 UTC

(solr) branch branch_9x updated: DelegatingBackupRepository extends AbstractBackupRepository. (#2444)

This is an automated email from the ASF dual-hosted git repository.

broustant pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 08a2bdd168a DelegatingBackupRepository extends AbstractBackupRepository. (#2444)
08a2bdd168a is described below

commit 08a2bdd168a4d3e0ca622618f833be584d0dd109
Author: Bruno Roustant <33...@users.noreply.github.com>
AuthorDate: Mon May 13 13:18:15 2024 +0200

    DelegatingBackupRepository extends AbstractBackupRepository. (#2444)
---
 .../apache/solr/core/backup/repository/DelegatingBackupRepository.java  | 2 +-
 .../apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/core/backup/repository/DelegatingBackupRepository.java b/solr/core/src/java/org/apache/solr/core/backup/repository/DelegatingBackupRepository.java
index a603c208cb8..e3b27cb073c 100644
--- a/solr/core/src/java/org/apache/solr/core/backup/repository/DelegatingBackupRepository.java
+++ b/solr/core/src/java/org/apache/solr/core/backup/repository/DelegatingBackupRepository.java
@@ -27,7 +27,7 @@ import org.apache.solr.common.util.NamedList;
 import org.apache.solr.core.backup.Checksum;
 
 /** Delegates to another {@link BackupRepository}. */
-public class DelegatingBackupRepository implements BackupRepository {
+public class DelegatingBackupRepository extends AbstractBackupRepository {
 
   public static final String PARAM_DELEGATE_REPOSITORY_NAME = "delegateRepoName";
 
diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java
index d988c5662bc..34b0d4a2b77 100644
--- a/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java
+++ b/solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractBackupRepositoryTest.java
@@ -20,7 +20,6 @@ package org.apache.solr.cloud.api.collections;
 import static org.apache.lucene.codecs.CodecUtil.FOOTER_MAGIC;
 import static org.apache.lucene.codecs.CodecUtil.writeBEInt;
 import static org.apache.lucene.codecs.CodecUtil.writeBELong;
-import static org.apache.solr.core.backup.repository.AbstractBackupRepository.PARAM_VERIFY_CHECKSUM;
 import static org.apache.solr.core.backup.repository.DelegatingBackupRepository.PARAM_DELEGATE_REPOSITORY_NAME;
 
 import java.io.File;