From 4faa706f4ee844aadc79cd440405cf5bec7276e8 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 23 Jan 2023 20:44:29 +0100 Subject: [PATCH] Remove unneeded service declaration OSGiPasswordHashService implements only a single interface, hence the service can easily be discovered. Remove explicit declaration. Change-Id: I9892a79df5e7dc2fe6c6c41c66c4cdbda36bdfa9 Signed-off-by: Robert Varga --- .../aaa/impl/password/service/OSGiPasswordHashService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aaa-password-service/impl/src/main/java/org/opendaylight/aaa/impl/password/service/OSGiPasswordHashService.java b/aaa-password-service/impl/src/main/java/org/opendaylight/aaa/impl/password/service/OSGiPasswordHashService.java index 238b4f6bd..cef8126bf 100644 --- a/aaa-password-service/impl/src/main/java/org/opendaylight/aaa/impl/password/service/OSGiPasswordHashService.java +++ b/aaa-password-service/impl/src/main/java/org/opendaylight/aaa/impl/password/service/OSGiPasswordHashService.java @@ -15,7 +15,7 @@ import org.osgi.service.component.annotations.Reference; import org.osgi.service.component.annotations.ReferenceCardinality; import org.osgi.service.component.annotations.ReferencePolicy; -@Component(immediate = true, service = PasswordHashService.class, property = "type=default") +@Component(immediate = true, property = "type=default") public final class OSGiPasswordHashService implements PasswordHashService { private volatile DefaultPasswordHashService delegate = null; -- 2.36.6