You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2022/01/13 16:07:34 UTC

[jackrabbit-filevault] branch JCRVLT-584 updated: JCRVLT-584: remove unneeded cleanup

This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch JCRVLT-584
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/JCRVLT-584 by this push:
     new 5899f4a  JCRVLT-584: remove unneeded cleanup
5899f4a is described below

commit 5899f4ae8ff8cc20e264d5ec6804fe1ae26548d7
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Thu Jan 13 17:07:24 2022 +0100

    JCRVLT-584: remove unneeded cleanup
---
 .../integration/ReferenceableIdentifiersImportIT.java          | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ReferenceableIdentifiersImportIT.java b/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ReferenceableIdentifiersImportIT.java
index ed250e8..98a84ef 100644
--- a/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ReferenceableIdentifiersImportIT.java
+++ b/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/ReferenceableIdentifiersImportIT.java
@@ -353,16 +353,6 @@ public class ReferenceableIdentifiersImportIT extends IntegrationTestBase {
     }
 
     private void testImportDup(IdConflictPolicy policy) throws IOException, PackageException, RepositoryException {
-        try {
-            admin.getNode("/tmp/duplicate").remove();
-            admin.save();
-        } catch (RepositoryException ok) {
-        }
-        try {
-            admin.getNode("/tmp/referenceable").remove();
-            admin.save();
-        } catch (RepositoryException ok) {
-        }
         ImportOptions options = getDefaultOptions();
         options.setStrict(true);
         options.setIdConflictPolicy(policy);