Merge "Bug 724: Handle hashCode/equals properly in InstanceIdentifier"
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / util / RefineUtils.java
index e7c53023a6319db489b56558a606ab90d0d30fe7..00b95cb37292bcfd940b7eda03b7cbe9a85823df 100644 (file)
@@ -287,7 +287,7 @@ public final class RefineUtils {
         Boolean config = refine.isConfiguration();
         if (config != null) {
             try {
-                Method method = cls.getDeclaredMethod("setConfiguration", Boolean.class);
+                Method method = cls.getDeclaredMethod("setConfiguration", Boolean.TYPE);
                 method.invoke(node, config);
             } catch (Exception e) {
                 throw new YangParseException(moduleName, line, "Cannot refine config in " + cls.getName(), e);