X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDatastoreContextIntrospector.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDatastoreContextIntrospector.java;h=d9445f18a1cc237a61376fffcd92d87d20735628;hp=06d57595be891c88cade0387584e0296a1805aef;hb=2b386997b52a07279f212b22f699481dd31a2e95;hpb=336acfdd3bdf6e2f0a7634e889dafb6a6e96110d;ds=sidebyside 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) {