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:
Robert Muir 2011-10-15 22:00:35 +00:00
parent 9ce0604126
commit 463db863fb
1 changed files with 1 additions and 1 deletions

View File

@ -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) {