nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marka...@apache.org
Subject [1/2] incubator-nifi git commit: NIFI-185: Improved error message
Date Fri, 19 Dec 2014 15:03:31 GMT
Repository: incubator-nifi
Updated Branches:
  refs/heads/develop 732cb7071 -> ea17562dd


NIFI-185: Improved error message


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/cbb17465
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/cbb17465
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/cbb17465

Branch: refs/heads/develop
Commit: cbb174658790b47faf68ed56343d0d001acea59e
Parents: 713312d
Author: Mark Payne <markap14@hotmail.com>
Authored: Fri Dec 19 10:02:53 2014 -0500
Committer: Mark Payne <markap14@hotmail.com>
Committed: Fri Dec 19 10:02:53 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/nifi/controller/StandardProcessorNode.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/cbb17465/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
----------------------------------------------------------------------
diff --git a/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
b/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
index 451dcfe..071be4d 100644
--- a/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
+++ b/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
@@ -1024,7 +1024,7 @@ public class StandardProcessorNode extends ProcessorNode implements
Connectable
             for (final Relationship relationship : getUndefinedRelationships()) {
                 if (!isAutoTerminated(relationship)) {
                     final ValidationResult error = new ValidationResult.Builder()
-                            .explanation(relationship.getName() + " is not defined")
+                            .explanation("Relationship '" + relationship.getName() + "' is
not connected to any component and is not auto-terminated")
                             .subject("Relationship " + relationship.getName())
                             .valid(false)
                             .build();


Mime
View raw message