lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r900680 - /lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java
Date Tue, 19 Jan 2010 07:03:23 GMT
Author: noble
Date: Tue Jan 19 07:03:22 2010
New Revision: 900680

URL: http://svn.apache.org/viewvc?rev=900680&view=rev
Log:
SOLR-1717 SolrHighlighter#fragmenter, formatter etc do not need synchronization

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java?rev=900680&r1=900679&r2=900680&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/highlight/SolrHighlighter.java Tue Jan 19 07:03:22
2010
@@ -41,19 +41,19 @@
 
   // Thread safe registry
   protected final Map<String,SolrFormatter> formatters =
-    Collections.synchronizedMap( new HashMap<String, SolrFormatter>() );
+    new HashMap<String, SolrFormatter>();
 
   // Thread safe registry
   protected final Map<String,SolrFragmenter> fragmenters =
-    Collections.synchronizedMap( new HashMap<String, SolrFragmenter>() );
+    new HashMap<String, SolrFragmenter>() ;
 
   // Thread safe registry
   protected final Map<String, SolrFragListBuilder> fragListBuilders =
-    Collections.synchronizedMap( new HashMap<String, SolrFragListBuilder>() );
+    new HashMap<String, SolrFragListBuilder>() ;
 
   // Thread safe registry
   protected final Map<String, SolrFragmentsBuilder> fragmentsBuilders =
-    Collections.synchronizedMap( new HashMap<String, SolrFragmentsBuilder>() );
+    new HashMap<String, SolrFragmentsBuilder>() ;
 
   @Deprecated
   public abstract void initalize( SolrConfig config );



Mime
View raw message