Remove TestBundleDiag constructor
[odlparent.git] / bundles-test-lib / src / main / java / org / opendaylight / odlparent / bundlestest / lib / TestBundleDiag.java
index c440de880294f3731035ad2c3fcb5a7a5b871e8a..7917cdc7c2526ed9c9cef4d667c490cca1b8c42e 100644 (file)
@@ -11,12 +11,9 @@ import static java.util.Objects.requireNonNull;
 
 import java.util.concurrent.TimeUnit;
 import java.util.function.BiConsumer;
-import org.apache.karaf.bundle.core.BundleService;
 import org.awaitility.Awaitility;
 import org.awaitility.core.ConditionTimeoutException;
 import org.opendaylight.odlparent.bundles.diag.DiagProvider;
-import org.opendaylight.odlparent.bundles.diag.ri.DefaultDiagProvider;
-import org.osgi.framework.BundleContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -34,11 +31,6 @@ public class TestBundleDiag {
         this.diagProvider = requireNonNull(diagProvider);
     }
 
-    @Deprecated(forRemoval = true)
-    public TestBundleDiag(final BundleContext bundleContext, final BundleService bundleService) {
-        this(new DefaultDiagProvider(bundleService, bundleContext));
-    }
-
     /**
      * Does something similar to Karaf's "diag" CLI command, and throws a {@link SystemStateFailureException} if
      * anything including bundle wiring is not OK.