mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128000 gjames: Converted the field to a local variable git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@128046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -87,14 +87,8 @@ public class SOLRAPIClientTest extends TestCase
|
||||
|
||||
private SOLRAPIClient tamperWithClient;
|
||||
|
||||
private TenantService tenantService;
|
||||
|
||||
private NamespaceDAO namespaceDAO;
|
||||
|
||||
private DictionaryDAOImpl dictionaryDAO;
|
||||
|
||||
private DictionaryComponent dictionaryComponent;
|
||||
|
||||
private CMISStrictDictionaryService cmisDictionaryService;
|
||||
|
||||
|
||||
@@ -126,10 +120,10 @@ public class SOLRAPIClientTest extends TestCase
|
||||
{
|
||||
if(client == null)
|
||||
{
|
||||
tenantService = new SingleTServiceImpl();
|
||||
TenantService tenantService = new SingleTServiceImpl();
|
||||
|
||||
dictionaryDAO = new DictionaryDAOImpl();
|
||||
namespaceDAO = dictionaryDAO;
|
||||
NamespaceDAO namespaceDAO = dictionaryDAO;
|
||||
dictionaryDAO.setTenantService(tenantService);
|
||||
|
||||
CompiledModelsCache compiledModelsCache = new CompiledModelsCache();
|
||||
@@ -149,7 +143,7 @@ public class SOLRAPIClientTest extends TestCase
|
||||
dictionaryDAO.setResourceClassLoader(getResourceClassLoader());
|
||||
dictionaryDAO.init();
|
||||
|
||||
dictionaryComponent = new DictionaryComponent();
|
||||
DictionaryComponent dictionaryComponent = new DictionaryComponent();
|
||||
dictionaryComponent.setDictionaryDAO(dictionaryDAO);
|
||||
dictionaryComponent.setMessageLookup(new StaticMessageLookup());
|
||||
|
||||
|
Reference in New Issue
Block a user