You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2014/04/15 14:12:49 UTC

svn commit: r1587541 - /stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java

Author: rwesten
Date: Tue Apr 15 12:12:49 2014
New Revision: 1587541

URL: http://svn.apache.org/r1587541
Log:
applied patch for STANBOL-1318

Modified:
    stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java

Modified: stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java?rev=1587541&r1=1587540&r2=1587541&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java (original)
+++ stanbol/branches/release-0.12/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java Tue Apr 15 12:12:49 2014
@@ -292,7 +292,7 @@ public class SolrYard extends AbstractYa
                 throw RuntimeException.class.cast(e);
             }
         }
-        if(query.getRequestHandler() == SolrQueryFactory.MLT_QUERY_TYPE){
+        if(SolrQueryFactory.MLT_QUERY_TYPE.equals(query.getRequestHandler())){
             log.debug("{}",response);
         }
         long queryTime = System.currentTimeMillis();