diff --git a/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java b/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java index 77c349a31d..913bd6ffe1 100644 --- a/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java +++ b/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java @@ -166,8 +166,7 @@ public final class PropertyDescriptor implements Comparable .input(input) .subject(getName()) .valid(false) - .explanation("Controller Service is not valid: " - + ((result.getExplanation() == null || result.getExplanation().trim().isEmpty()) ? "(Service does not provide any explanation)" : result.getExplanation())) + .explanation("Controller Service is not valid: " + result) .build(); } }