You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/01/04 15:06:47 UTC

[3/4] git commit: CAMEL-6822: The option prefix is mandatory if invoking this method.

CAMEL-6822: The option prefix is mandatory if invoking this method.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/23f5693c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/23f5693c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/23f5693c

Branch: refs/heads/master
Commit: 23f5693c34a9eec666051c7faeab4f1b7ee90d82
Parents: cdeb155
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Jan 4 14:49:56 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Jan 4 14:49:56 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/util/IntrospectionSupport.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/23f5693c/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
index e6864b7..98caa8e 100755
--- a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
+++ b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
@@ -421,6 +421,7 @@ public final class IntrospectionSupport {
     }
 
     public static boolean setProperties(Object target, Map<String, Object> properties, String optionPrefix) throws Exception {
+        ObjectHelper.notEmpty(optionPrefix, "optionPrefix");
         return setProperties(target, properties, optionPrefix, false);
     }