Fix a documentation reference 84/101484/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Jun 2022 09:06:24 +0000 (11:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Jun 2022 09:06:24 +0000 (11:06 +0200)
We do not use ConstructorProperties, fix the reference.

Change-Id: I3fed8217367ce3948fa561bdf4b00a4e99087c07
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospector.java

index 06d57595be891c88cade0387584e0296a1805aef..d9445f18a1cc237a61376fffcd92d87d20735628 100644 (file)
@@ -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) {