From 2b386997b52a07279f212b22f699481dd31a2e95 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 7 Jun 2022 11:06:24 +0200 Subject: [PATCH] Fix a documentation reference We do not use ConstructorProperties, fix the reference. Change-Id: I3fed8217367ce3948fa561bdf4b00a4e99087c07 Signed-off-by: Robert Varga --- .../cluster/datastore/DatastoreContextIntrospector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospector.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospector.java index 06d57595be..d9445f18a1 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospector.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospector.java @@ -174,7 +174,7 @@ public class DatastoreContextIntrospector { // This must be a yang-defined type. We need to find the constructor that takes a // primitive as the only argument. This will be used to construct instances to perform // validation (eg range checking). The yang-generated types have a couple single-argument - // constructors but the one we want has the bean ConstructorProperties annotation. + // constructors but the one we want has the ConstructorParameters annotation. for (final Constructor ctor: propertyType.getConstructors()) { final ConstructorParameters ctorParAnnotation = ctor.getAnnotation(ConstructorParameters.class); if (ctor.getParameterCount() == 1 && ctorParAnnotation != null) { -- 2.36.6