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:
Michael McCandless 2011-04-29 15:42:30 +00:00
parent 9f2affb665
commit a47d4b835b

View File

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