SEARCH-371: Changed the method signature following the upgrade

This commit is contained in:
Gethin James
2017-06-05 15:51:09 +02:00
parent e20f142a11
commit 0704529a99
3 changed files with 3 additions and 3 deletions
@@ -84,7 +84,7 @@ public class AlfrescoCollatableMLTextFieldType extends StrField
* @see org.apache.lucene.search.FieldComparatorSource#newComparator(java.lang.String, int, int, boolean)
*/
@Override
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
{
return new MLTextSortFieldComparator(numHits, fieldname, I18NUtil.getLocale());
}
@@ -86,7 +86,7 @@ public class AlfrescoCollatableTextFieldType extends StrField
* @see org.apache.lucene.search.FieldComparatorSource#newComparator(java.lang.String, int, int, boolean)
*/
@Override
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
{
return new TextSortFieldComparator(numHits, fieldname, I18NUtil.getLocale());
}
@@ -95,7 +95,7 @@ public abstract class SolrCoreTestBase implements SolrTestFiles
coreDescriptor = new CoreDescriptor(coreContainer, "name", Paths.get(TEST_SOLR_COLLECTION));
// SolrCore is final, we can't mock with mockito
core = new SolrCore("name", null, solrConfig, null, null, coreDescriptor, null, null, null);
core = new SolrCore("name", null, solrConfig, null, null, coreDescriptor, null, null, null, false);
FieldUtils.writeField(core, "updateHandler", updateHandler, true);
FieldUtils.writeField(core, "resourceLoader", resourceLoader, true);