summaryrefslogtreecommitdiffstats
path: root/common-parameters/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'common-parameters/src/main/java')
-rw-r--r--common-parameters/src/main/java/org/onap/policy/common/parameters/GroupValidationResult.java2
-rw-r--r--common-parameters/src/main/java/org/onap/policy/common/parameters/ParameterValidationResult.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/common-parameters/src/main/java/org/onap/policy/common/parameters/GroupValidationResult.java b/common-parameters/src/main/java/org/onap/policy/common/parameters/GroupValidationResult.java
index 3dc01299..ad2eb695 100644
--- a/common-parameters/src/main/java/org/onap/policy/common/parameters/GroupValidationResult.java
+++ b/common-parameters/src/main/java/org/onap/policy/common/parameters/GroupValidationResult.java
@@ -339,7 +339,7 @@ public class GroupValidationResult extends CommonGroupValidationResult {
if (parameterGroup != null) {
result.append(parameterGroup.getName());
result.append("\" type \"");
- result.append(parameterGroup.getClass().getCanonicalName());
+ result.append(parameterGroup.getClass().getName());
} else {
result.append("UNDEFINED");
}
diff --git a/common-parameters/src/main/java/org/onap/policy/common/parameters/ParameterValidationResult.java b/common-parameters/src/main/java/org/onap/policy/common/parameters/ParameterValidationResult.java
index 2c367a30..35837376 100644
--- a/common-parameters/src/main/java/org/onap/policy/common/parameters/ParameterValidationResult.java
+++ b/common-parameters/src/main/java/org/onap/policy/common/parameters/ParameterValidationResult.java
@@ -163,7 +163,7 @@ public class ParameterValidationResult implements ValidationResult {
validationResultBuilder.append("field \"");
validationResultBuilder.append(getName());
validationResultBuilder.append("\" type \"");
- validationResultBuilder.append(field.getType().getCanonicalName());
+ validationResultBuilder.append(field.getType().getName());
validationResultBuilder.append("\" value \"");
validationResultBuilder.append(parameterValue);
validationResultBuilder.append("\" ");