Author: rwesten
Date: Mon Feb 25 10:20:55 2013
New Revision: 1449647

URL: http://svn.apache.org/r1449647
Log:
STANBOL-961: added the missing break; to the switch statement

Modified:
    
stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrFieldMapper.java

Modified: 
stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrFieldMapper.java
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrFieldMapper.java?rev=1449647&r1=1449646&r2=1449647&view=diff
==============================================================================
--- 
stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrFieldMapper.java
 (original)
+++ 
stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrFieldMapper.java
 Mon Feb 25 10:20:55 2013
@@ -341,6 +341,7 @@ public class SolrFieldMapper implements 
                         break;
                     case references:
                         fieldNames = 
Collections.singleton(getReferredDocumentField());
+                        break;
                     default:
                         throw new IllegalStateException("Unsupported Special 
Field '"
                             +specialField.getUri()+"! Please report this to 
the "
@@ -348,7 +349,7 @@ public class SolrFieldMapper implements 
                             + "JIRA issue at 
https://issues.apache.org/jira/browse/STANBOL!";);
                 }
             } else {
-                fieldNames = new HashSet<String>(2); //typically onle 1 or 2 
values
+                fieldNames = new HashSet<String>(2); //typically only 1 or 2 
values
                 IndexDataTypeEnum dataTypeConfig = 
IndexDataTypeEnum.forIndexType(indexField.getDataType());
                 if (dataTypeConfig == null) {
                     throw new IllegalStateException(String.format(


Reply via email to