mirror of https://github.com/apache/lucene.git
removed unnecessary synchronization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1125350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
441588a04f
commit
8f13a775b5
|
@ -66,7 +66,7 @@ public class DefaultDocValuesProducer extends PerDocValues {
|
|||
* <code>null</code> if this field has no {@link DocValues}.
|
||||
*/
|
||||
@Override
|
||||
public synchronized DocValues docValues(String field) throws IOException {
|
||||
public DocValues docValues(String field) throws IOException {
|
||||
return docValues.get(field);
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ public class DefaultDocValuesProducer extends PerDocValues {
|
|||
}
|
||||
}
|
||||
|
||||
public synchronized void close() throws IOException {
|
||||
public void close() throws IOException {
|
||||
closeDocValues(docValues.values());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue