mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Removed unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,7 +22,6 @@ import java.util.Map;
|
|||||||
import org.alfresco.model.ContentModel;
|
import org.alfresco.model.ContentModel;
|
||||||
import org.alfresco.repo.action.ActionImpl;
|
import org.alfresco.repo.action.ActionImpl;
|
||||||
import org.alfresco.repo.content.MimetypeMap;
|
import org.alfresco.repo.content.MimetypeMap;
|
||||||
import org.alfresco.repo.content.metadata.MetadataExtracterRegistry;
|
|
||||||
import org.alfresco.repo.content.transform.AbstractContentTransformerTest;
|
import org.alfresco.repo.content.transform.AbstractContentTransformerTest;
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationComponent;
|
import org.alfresco.repo.security.authentication.AuthenticationComponent;
|
||||||
import org.alfresco.service.cmr.repository.ContentService;
|
import org.alfresco.service.cmr.repository.ContentService;
|
||||||
@@ -48,7 +47,6 @@ public class ContentMetadataExtracterTest extends BaseSpringTest
|
|||||||
|
|
||||||
private NodeService nodeService;
|
private NodeService nodeService;
|
||||||
private ContentService contentService;
|
private ContentService contentService;
|
||||||
private MetadataExtracterRegistry metadataExtracterRegistry;
|
|
||||||
private StoreRef testStoreRef;
|
private StoreRef testStoreRef;
|
||||||
private NodeRef rootNodeRef;
|
private NodeRef rootNodeRef;
|
||||||
private NodeRef nodeRef;
|
private NodeRef nodeRef;
|
||||||
@@ -62,8 +60,6 @@ public class ContentMetadataExtracterTest extends BaseSpringTest
|
|||||||
{
|
{
|
||||||
this.nodeService = (NodeService) this.applicationContext.getBean("nodeService");
|
this.nodeService = (NodeService) this.applicationContext.getBean("nodeService");
|
||||||
this.contentService = (ContentService) this.applicationContext.getBean("contentService");
|
this.contentService = (ContentService) this.applicationContext.getBean("contentService");
|
||||||
this.metadataExtracterRegistry = (MetadataExtracterRegistry) this.applicationContext
|
|
||||||
.getBean("metadataExtracterRegistry");
|
|
||||||
|
|
||||||
AuthenticationComponent authenticationComponent = (AuthenticationComponent)applicationContext.getBean("authenticationComponent");
|
AuthenticationComponent authenticationComponent = (AuthenticationComponent)applicationContext.getBean("authenticationComponent");
|
||||||
authenticationComponent.setSystemUserAsCurrentUser();
|
authenticationComponent.setSystemUserAsCurrentUser();
|
||||||
|
Reference in New Issue
Block a user