Updated to Java 11
[holmes/rule-management.git] / rulemgt / src / main / java / org / onap / holmes / rulemgt / db / CorrelationRuleQueryDao.java
index b0f0b96..104f74d 100644 (file)
@@ -97,7 +97,7 @@ public class CorrelationRuleQueryDao {
                 if (field.getName().contains("jacoco")) {\r
                     continue;\r
                 }\r
-                PropertyDescriptor pd = new PropertyDescriptor(field.getName(),\r
+                PropertyDescriptor pd = new PropertyDescriptor((String)field.getName(),\r
                         clazz);\r
                 Method getMethod = pd.getReadMethod();\r
                 Object o = getMethod.invoke(ruleQueryCondition);\r