From f622d1ef05e04d9bbebed6ee9afa4d825ab23cab Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Thu, 22 Sep 2016 17:06:14 +0200 Subject: [PATCH] Mechanical code cleanup (blueprint) * Remove unnecessary type specifiers (use Java 7 <>) * Remove unnecessary "extends Object" declarations * Remove unnecessary semi-colons * Merge identical catch blocks * Remove redundant modifiers: - enum constructors are private by default - interface properties are public static final by default - interface methods are public abstract by default - interfaces are abstract by default - inner interfaces are static by default - inner classes in interfaces are public static by default Change-Id: Iec9055685d1e4f1bba29f20de6da1cd6e14d5503 Signed-off-by: Stephen Kitt --- .../controller/blueprint/BlueprintBundleTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/BlueprintBundleTracker.java b/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/BlueprintBundleTracker.java index 218f1d1ff8..ed416c5fb4 100644 --- a/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/BlueprintBundleTracker.java +++ b/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/BlueprintBundleTracker.java @@ -257,7 +257,7 @@ public class BlueprintBundleTracker implements BundleActivator, BundleTrackerCus } private List getBundlesToDestroy(Collection containerBundles) { - List bundlesToDestroy = new ArrayList(); + List bundlesToDestroy = new ArrayList<>(); // Find all container bundles that either have no registered services or whose services are no // longer in use. -- 2.36.6