LUCENE-6909: remove unnecessary synchronized keyword

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-11-25 16:34:26 +00:00
parent 1daa11f328
commit bc7215b5f4
2 changed files with 5 additions and 1 deletions
lucene
CHANGES.txt
facet/src/java/org/apache/lucene/facet

View File

@ -232,6 +232,10 @@ Optimizations
be fully read from disk if the supplied StoredFieldVisitor doesn't want it.
So put your largest text field value last to benefit. (David Smiley)
* LUCENE-6909: Remove unnecessary synchronized from
FacetsConfig.getDimConfig for better concurrency (Sanne Grinovero
via Mike McCandless)
Bug Fixes
* LUCENE-6817: ComplexPhraseQueryParser.ComplexPhraseQuery does not display

View File

@ -111,7 +111,7 @@ public class FacetsConfig {
}
/** Get the current configuration for a dimension. */
public synchronized DimConfig getDimConfig(String dimName) {
public DimConfig getDimConfig(String dimName) {
DimConfig ft = fieldTypes.get(dimName);
if (ft == null) {
ft = getDefaultDimConfig();