X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fdom%2Fbroker%2Fosgi%2FAbstractBrokerServiceProxy.java;h=275107ed8fb062bcfaf7c766cd0701ab3f0625af;hb=8e42b08cb626a60919c145b2a46d94114c3905d6;hp=8d33ff7997dab4b2a09d813c9200e8b95f7dc762;hpb=1f6daaf007e78df276604baa4c515a50037a649d;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/AbstractBrokerServiceProxy.java b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/AbstractBrokerServiceProxy.java index 8d33ff7997..275107ed8f 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/AbstractBrokerServiceProxy.java +++ b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/AbstractBrokerServiceProxy.java @@ -39,9 +39,9 @@ public abstract class AbstractBrokerServiceProxy implem return reference; } - private final Set> registrations = Collections.synchronizedSet(new HashSet>()); + private final Set registrations = Collections.synchronizedSet(new HashSet()); - protected > R addRegistration(final R registration) { + protected R addRegistration(final R registration) { if (registration != null) { registrations.add(registration); } @@ -63,7 +63,7 @@ public abstract class AbstractBrokerServiceProxy implem RuntimeException potentialException = new RuntimeException( "Uncaught exceptions occured during unregistration"); boolean hasSuppressed = false; - for (Registration registration : registrations) { + for (Registration registration : registrations) { try { registration.close(); } catch (Exception e) {