You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by kr...@apache.org on 2023/06/13 15:49:06 UTC

[solr] branch main updated: Remove deprecated BackupRepository delete with ignoreNoSuchFileException API (#1699)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new f2e100de40e Remove deprecated BackupRepository delete with ignoreNoSuchFileException API (#1699)
f2e100de40e is described below

commit f2e100de40edc2e7cbc19bd993721075df8b3b96
Author: Kevin Risden <ri...@users.noreply.github.com>
AuthorDate: Tue Jun 13 11:48:59 2023 -0400

    Remove deprecated BackupRepository delete with ignoreNoSuchFileException API (#1699)
---
 .../solr/core/backup/repository/BackupRepository.java      | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/core/backup/repository/BackupRepository.java b/solr/core/src/java/org/apache/solr/core/backup/repository/BackupRepository.java
index 0d968fde0b2..3879b59d281 100644
--- a/solr/core/src/java/org/apache/solr/core/backup/repository/BackupRepository.java
+++ b/solr/core/src/java/org/apache/solr/core/backup/repository/BackupRepository.java
@@ -224,25 +224,13 @@ public interface BackupRepository extends NamedListInitializedPlugin, Closeable
     }
   }
 
-  /**
-   * Delete {@code files} at {@code path}
-   *
-   * @since 8.3.0
-   * @deprecated Use {@link #delete(URI, Collection)} instead
-   */
-  @Deprecated
-  default void delete(URI path, Collection<String> files, boolean ignoreNoSuchFileException)
-      throws IOException {
-    throw new UnsupportedOperationException();
-  }
-
   /**
    * Delete {@code files} at {@code path}
    *
    * @since 9.3.0
    */
   default void delete(URI path, Collection<String> files) throws IOException {
-    delete(path, files, true);
+    throw new UnsupportedOperationException();
   }
 
   /**