Merge tag 'v2.3.20' into testing
[gpl/argeo-jcr.git] / org.argeo.cms.jcr / src / org / argeo / maintenance / backup / LogicalRestore.java
index 122c967014dcf7cc34ccd41c82123f894bbd514b..33de808b8c449f4c7f5af1cc8a4d5716342b3883 100644 (file)
@@ -11,26 +11,23 @@ import javax.jcr.Repository;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
-import org.argeo.api.cms.CmsConstants;
 import org.argeo.api.cms.CmsLog;
-import org.argeo.cms.jcr.CmsJcrUtils;
 import org.argeo.jcr.Jcr;
 import org.argeo.jcr.JcrException;
 import org.argeo.jcr.JcrUtils;
-import org.osgi.framework.BundleContext;
 
 /** Restores a backup in the format defined by {@link LogicalBackup}. */
 public class LogicalRestore implements Runnable {
        private final static CmsLog log = CmsLog.getLog(LogicalRestore.class);
 
        private final Repository repository;
-       private final BundleContext bundleContext;
+//     private final BundleContext bundleContext;
        private final Path basePath;
 
-       public LogicalRestore(BundleContext bundleContext, Repository repository, Path basePath) {
+       public LogicalRestore(Repository repository, Path basePath) {
                this.repository = repository;
                this.basePath = basePath;
-               this.bundleContext = bundleContext;
+//             this.bundleContext = bundleContext;
        }
 
        @Override