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:
Simon Willnauer 2011-05-20 12:35:46 +00:00
parent 441588a04f
commit 8f13a775b5
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}