camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/4] git commit: CAMEL-6822: The option prefix is mandatory if invoking this method.
Date Sat, 04 Jan 2014 14:06:47 GMT
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 <davsclaus@apache.org>
Authored: Sat Jan 4 14:49:56 2014 +0100
Committer: Claus Ibsen <davsclaus@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);
     }
 


Mime
View raw message