You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2014/12/15 19:29:56 UTC

[1/2] incubator-nifi git commit: NIFI-49: Included patch from Philip Young to include name of default vlaue when not allowed as a property descriptor value

Repository: incubator-nifi
Updated Branches:
  refs/heads/NIFI-49 f0bea5c15 -> ddfa621da


NIFI-49: Included patch from Philip Young to include name of default vlaue when not allowed as a property descriptor value


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

Branch: refs/heads/NIFI-49
Commit: 13160429777e6a48a7833174a99f2771c11649ed
Parents: e04a55d
Author: Mark Payne <ma...@hotmail.com>
Authored: Mon Dec 15 13:28:09 2014 -0500
Committer: Mark Payne <ma...@hotmail.com>
Committed: Mon Dec 15 13:28:09 2014 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/components/PropertyDescriptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/13160429/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java
----------------------------------------------------------------------
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 c95d449..ba0f7dc 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
@@ -425,7 +425,7 @@ public final class PropertyDescriptor implements Comparable<PropertyDescriptor>
                 throw new IllegalStateException("Must specify a name");
             }
             if (!isValueAllowed(defaultValue)) {
-                throw new IllegalStateException("Default value is not in the set of allowable values");
+                throw new IllegalStateException("Default value ["+ defaultValue +"] is not in the set of allowable values");
             }
 
             return new PropertyDescriptor(this);


[2/2] incubator-nifi git commit: NIFI-49: Included patch from Philip Young to include name of default vlaue when not allowed as a property descriptor value

Posted by ma...@apache.org.
NIFI-49: Included patch from Philip Young to include name of default vlaue when not allowed as a property descriptor value


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

Branch: refs/heads/NIFI-49
Commit: ddfa621dab4f6614e426314e0685106586e08c9f
Parents: 1316042 f0bea5c
Author: Mark Payne <ma...@hotmail.com>
Authored: Mon Dec 15 13:29:35 2014 -0500
Committer: Mark Payne <ma...@hotmail.com>
Committed: Mon Dec 15 13:29:35 2014 -0500

----------------------------------------------------------------------

----------------------------------------------------------------------