mirror of https://github.com/apache/lucene.git
remove redundant/useless sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ce0604126
commit
463db863fb
|
@ -432,7 +432,7 @@ class BufferedDeletesStream {
|
|||
}
|
||||
|
||||
// Delete by query
|
||||
private synchronized long applyQueryDeletes(Iterable<QueryAndLimit> queriesIter, SegmentReader reader) throws IOException {
|
||||
private static long applyQueryDeletes(Iterable<QueryAndLimit> queriesIter, SegmentReader reader) throws IOException {
|
||||
long delCount = 0;
|
||||
final AtomicReaderContext readerContext = (AtomicReaderContext) reader.getTopReaderContext();
|
||||
for (QueryAndLimit ent : queriesIter) {
|
||||
|
|
Loading…
Reference in New Issue