Clean up warnings in aaa-password-service 13/109913/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Jan 2024 17:17:16 +0000 (18:17 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Jan 2024 17:17:16 +0000 (18:17 +0100)
We have a few warnings about deprecation and also duplicate
version/groupId. Fix all of them up.

Change-Id: Ic2e72f188ea0f374d023ac8444289491bfe555f3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-password-service/impl/pom.xml
aaa-password-service/impl/src/main/java/org/opendaylight/aaa/impl/password/service/OSGiPasswordServiceConfigBootstrap.java

index 616a4b764dbf831d6ab2f8814c2e49c5922c78c0..4dcceb29e01a74b6f136c98a32d702b390f32afc 100644 (file)
@@ -16,9 +16,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <relativePath>../../parent</relativePath>
   </parent>
 
-  <groupId>org.opendaylight.aaa</groupId>
   <artifactId>aaa-password-service-impl</artifactId>
-  <version>0.19.0-SNAPSHOT</version>
   <name>ODL :: aaa :: ${project.artifactId}</name>
   <packaging>bundle</packaging>
 
index 6f8dae18373096ca0f31554b189661494dd2d8b3..c3103f12077a8036ce25de214794038334728153 100644 (file)
@@ -42,7 +42,7 @@ public final class OSGiPasswordServiceConfigBootstrap implements DataListener<Pa
             final ComponentFactory<OSGiPasswordServiceConfig> configFactory) {
         this.configFactory  = requireNonNull(configFactory);
         registration = dataBroker.registerDataListener(
-            DataTreeIdentifier.create(LogicalDatastoreType.CONFIGURATION,
+            DataTreeIdentifier.of(LogicalDatastoreType.CONFIGURATION,
                 InstanceIdentifier.create(PasswordServiceConfig.class)), this);
         LOG.info("Listening for password service configuration");
     }