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:
Derek Hulley
2006-02-16 00:16:23 +00:00
parent 4f3e14abf9
commit d57dda657d

View File

@@ -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();