mirror of
https://github.com/apache/lucene.git
synced 2025-03-04 07:19:18 +00:00
add missing sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1ff2096aef
commit
8472b04326
@ -228,7 +228,7 @@ public class NRTCachingDirectory extends Directory {
|
||||
}
|
||||
}
|
||||
|
||||
public IndexInputSlicer createSlicer(final String name, final IOContext context) throws IOException {
|
||||
public synchronized IndexInputSlicer createSlicer(final String name, final IOContext context) throws IOException {
|
||||
ensureOpen();
|
||||
if (VERBOSE) {
|
||||
System.out.println("nrtdir.openInput name=" + name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user