Clean up lambdas
[odlparent.git] / bundles-test / src / main / java / org / opendaylight / odlparent / bundlestest / TestBundleDiag.java
index 2ee3b2689559c1560ec2c6addc5e92e5eaf1d656..56b2f38da34bfef75994ab728267e142f48a8a25 100644 (file)
@@ -59,7 +59,7 @@ public class TestBundleDiag {
                         condition -> LOG.info("checkBundleDiagInfos: Elapsed time {}s, remaining time {}s, {}",
                             condition.getElapsedTimeInMS() / 1000, condition.getRemainingTimeInMS() / 1000,
                             ((BundleDiagInfos) condition.getValue()).getFullDiagnosticText()))
-                    .until(() -> getBundleDiagInfos(), new BundleServiceSummaryMatcher());
+                    .until(this::getBundleDiagInfos, new BundleServiceSummaryMatcher());
 
             // If we're here then either BundleServiceSummaryMatcher quit because of Active, Failure or Stopping..
             BundleDiagInfos bundleInfos = getBundleDiagInfos();