summarylogtreecommitdiffstats
path: root/scilab-lucene.patch
diff options
context:
space:
mode:
Diffstat (limited to 'scilab-lucene.patch')
-rw-r--r--scilab-lucene.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/scilab-lucene.patch b/scilab-lucene.patch
index 14ba0b55ce28..25e610d3aad6 100644
--- a/scilab-lucene.patch
+++ b/scilab-lucene.patch
@@ -1,14 +1,5 @@
--- modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteSearcher.java 2017-02-15 19:48:09.065311738 +0100
+++ modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteSearcher.java.new 2017-02-15 19:43:03.057878902 +0100
-@@ -52,7 +52,7 @@
- */
- public List<Document> search(String str) {
- List<Document> found = new ArrayList<>();
-- try (IndexReader reader = DirectoryReader.open(mgr.getIndexWriter(), true)) {
-+ try (IndexReader reader = DirectoryReader.open(mgr.getIndexWriter())) {
- IndexSearcher searcher = new IndexSearcher(reader);
-
- StandardQueryParser queryParserHelper = new StandardQueryParser();
@@ -57,7 +57,6 @@
StandardQueryParser queryParserHelper = new StandardQueryParser();