From 054cca13270bf8de731e566692f27059692308c2 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 26 May 2022 19:05:52 +0200 Subject: [PATCH] Fix raw type warnings in OSGiDistributedDataStore Component{Factory,Instance} are now properly generic, specify arguments pointing to OSGiDOMStore. Change-Id: I4593b18df88302f933647ed09818633d76efca41 Signed-off-by: Robert Varga --- .../cluster/datastore/OSGiDistributedDataStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OSGiDistributedDataStore.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OSGiDistributedDataStore.java index 1480643e0b..a0f6937344 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OSGiDistributedDataStore.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OSGiDistributedDataStore.java @@ -53,7 +53,7 @@ public final class OSGiDistributedDataStore { private final String serviceType; @GuardedBy("this") - private ComponentInstance component; + private ComponentInstance component; @GuardedBy("this") private boolean stopped; @@ -122,7 +122,7 @@ public final class OSGiDistributedDataStore { @Reference ModuleShardConfigProvider configProvider = null; @Reference(target = "(component.factory=" + OSGiDOMStore.FACTORY_NAME + ")") - ComponentFactory datastoreFactory = null; + ComponentFactory datastoreFactory = null; private DatastoreState configDatastore; private DatastoreState operDatastore; -- 2.36.6