diff --git a/config/alfresco/download-services-context.xml b/config/alfresco/download-services-context.xml
index d23efbf7a3..a7b0a64f69 100644
--- a/config/alfresco/download-services-context.xml
+++ b/config/alfresco/download-services-context.xml
@@ -81,7 +81,7 @@
-
+
@@ -91,13 +91,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/source/java/org/alfresco/repo/exporter/ExporterComponent.java b/source/java/org/alfresco/repo/exporter/ExporterComponent.java
index 94a9a7e818..7c12192945 100644
--- a/source/java/org/alfresco/repo/exporter/ExporterComponent.java
+++ b/source/java/org/alfresco/repo/exporter/ExporterComponent.java
@@ -391,8 +391,8 @@ public class ExporterComponent
// explicitly included ?
if (parameters.getIncludedPaths() != null)
{
- String nodePathPrefixString = nodeService.getPath(nodeRef).toPrefixString(namespaceService);
- if (! (isIncludedPath(parameters.getIncludedPaths(), nodePathPrefixString)))
+ String nodePathPrefixString = nodeService.getPath(nodeRef).toPrefixString(namespaceService);
+ if (! (isIncludedPath(parameters.getIncludedPaths(), nodePathPrefixString)))
{
return;
}
@@ -515,7 +515,7 @@ public class ExporterComponent
// Export node children
if (parameters.isCrawlChildNodes())
{
- // sort associations into assoc type buckets filtering out unneccessary associations
+ // sort associations into assoc type buckets filtering out unneccessary associations
Map> assocTypes = new HashMap>();
List childAssocs = nodeService.getChildAssocs(nodeRef);
for (ChildAssociationRef childAssoc : childAssocs)
@@ -540,7 +540,7 @@ public class ExporterComponent
}
if (isExcludedURI(parameters.getExcludeNamespaceURIs(), childAssoc.getQName().getNamespaceURI()))
{
- continue;
+ continue;
}
List assocRefs = assocTypes.get(childAssocType);
@@ -551,7 +551,7 @@ public class ExporterComponent
}
assocRefs.add(childAssoc);
}
-
+
// output each association type bucket
if (assocTypes.size() > 0)
{
@@ -592,7 +592,7 @@ public class ExporterComponent
else
{
exporter.endNode(nodeRef);
- }
+ }
}
/**
@@ -688,7 +688,7 @@ public class ExporterComponent
*/
private void walkNodeSecondaryLinks(NodeRef nodeRef, ExporterCrawlerParameters parameters, Exporter exporter)
{
- // sort associations into assoc type buckets filtering out unneccessary associations
+ // sort associations into assoc type buckets filtering out unneccessary associations
Map> assocTypes = new HashMap>();
List childAssocs = nodeService.getChildAssocs(nodeRef);
for (ChildAssociationRef childAssoc : childAssocs)
@@ -724,7 +724,7 @@ public class ExporterComponent
}
assocRefs.add(childAssoc);
}
-
+
// output each association type bucket
if (assocTypes.size() > 0)
{
@@ -758,7 +758,7 @@ public class ExporterComponent
*/
private void walkNodeAssociations(NodeRef nodeRef, ExporterCrawlerParameters parameters, Exporter exporter)
{
- // sort associations into assoc type buckets filtering out unneccessary associations
+ // sort associations into assoc type buckets filtering out unneccessary associations
Map> assocTypes = new HashMap>();
List assocs = nodeService.getTargetAssocs(nodeRef, RegexQNamePattern.MATCH_ALL);
for (AssociationRef assoc : assocs)
@@ -781,7 +781,7 @@ public class ExporterComponent
}
assocRefs.add(assoc);
}
-
+
// output each association type bucket
if (assocTypes.size() > 0)
{
diff --git a/source/test-java/org/alfresco/repo/download/DownloadServiceIntegrationTest.java b/source/test-java/org/alfresco/repo/download/DownloadServiceIntegrationTest.java
index 8b66a80857..b46dc5015d 100644
--- a/source/test-java/org/alfresco/repo/download/DownloadServiceIntegrationTest.java
+++ b/source/test-java/org/alfresco/repo/download/DownloadServiceIntegrationTest.java
@@ -106,9 +106,9 @@ public class DownloadServiceIntegrationTest
private static IntegrityChecker INTEGRITY_CHECKER;
// Test Content
- private NodeRef rootFolder;
- private NodeRef rootFile;
- private NodeRef secondaryNode;
+ private NodeRef rootFolder;
+ private NodeRef rootFile;
+ private NodeRef secondaryNode;
private NodeRef level1Folder1;
@@ -120,13 +120,13 @@ public class DownloadServiceIntegrationTest
@BeforeClass public static void init()
{
- // Resolve required services
+ // Resolve required services
CHECK_OUT_CHECK_IN_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("CheckOutCheckInService", CheckOutCheckInService.class);
CONTENT_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("contentService", ContentService.class);
- DOWNLOAD_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("DownloadService", DownloadService.class);
- NODE_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService", NodeService.class);
- PERMISSION_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("PermissionService", PermissionService.class);
- TRANSACTION_HELPER = APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper", RetryingTransactionHelper.class);
+ DOWNLOAD_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("DownloadService", DownloadService.class);
+ NODE_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("NodeService", NodeService.class);
+ PERMISSION_SERVICE = APP_CONTEXT_INIT.getApplicationContext().getBean("PermissionService", PermissionService.class);
+ TRANSACTION_HELPER = APP_CONTEXT_INIT.getApplicationContext().getBean("retryingTransactionHelper", RetryingTransactionHelper.class);
INTEGRITY_CHECKER = APP_CONTEXT_INIT.getApplicationContext().getBean("integrityChecker", IntegrityChecker.class);
INTEGRITY_CHECKER.setEnabled(true);
INTEGRITY_CHECKER.setFailOnViolation(true);
@@ -188,11 +188,11 @@ public class DownloadServiceIntegrationTest
@Test public void createDownload() throws IOException, InterruptedException
{
// Initiate the download
- final NodeRef downloadNode = DOWNLOAD_SERVICE.createDownload(new NodeRef[] {rootFile, rootFolder}, true);
+ final NodeRef downloadNode = DOWNLOAD_SERVICE.createDownload(new NodeRef[] {rootFile, rootFolder}, true);
Assert.assertNotNull(downloadNode);
testNodes.addNodeRef(downloadNode);
-
+
// Validate that the download node has been persisted correctly.
TRANSACTION_HELPER.doInTransaction(new RetryingTransactionCallback