You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by si...@apache.org on 2019/03/26 14:24:34 UTC

[lucene-solr] branch branch_8x updated: LUCENE-8735: Add missing file

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

simonw pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new bb22c54  LUCENE-8735: Add missing file
bb22c54 is described below

commit bb22c540ac90ee2b8796ca30e65aa2e22d9c90d4
Author: Simon Willnauer <si...@apache.org>
AuthorDate: Tue Mar 26 15:24:05 2019 +0100

    LUCENE-8735: Add missing file
---
 lucene/core/src/java/org/apache/lucene/store/RAMDirectory.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lucene/core/src/java/org/apache/lucene/store/RAMDirectory.java b/lucene/core/src/java/org/apache/lucene/store/RAMDirectory.java
index 8d2dcf3..ede751a 100644
--- a/lucene/core/src/java/org/apache/lucene/store/RAMDirectory.java
+++ b/lucene/core/src/java/org/apache/lucene/store/RAMDirectory.java
@@ -24,6 +24,7 @@ import java.nio.file.Files;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
+import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
@@ -256,4 +257,10 @@ public class RAMDirectory extends BaseDirectory implements Accountable {
     isOpen = false;
     fileMap.clear();
   }
+
+  @Override
+  public Set<String> getPendingDeletions() {
+    return Collections.emptySet();
+  }
+
 }