mirror of
https://github.com/apache/lucene.git
synced 2025-02-17 23:45:09 +00:00
LUCENE-3052: missing sync in private (test only) codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9f2affb665
commit
a47d4b835b
@ -484,8 +484,10 @@ public class TestExternalCodecs extends LuceneTestCase {
|
||||
public FieldsProducer fieldsProducer(SegmentReadState readState)
|
||||
throws IOException {
|
||||
|
||||
synchronized(state) {
|
||||
return state.get(readState.segmentInfo.name);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getExtensions(Set<String> extensions) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user