camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] camel git commit: Fixed an CS error of camel-core
Date Thu, 13 Nov 2014 13:48:02 GMT
Fixed an CS error of camel-core


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

Branch: refs/heads/master
Commit: 552f99ac18067b9c53536193c9a1c349529444a5
Parents: 6bd3ad9
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Thu Nov 13 21:33:45 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu Nov 13 21:47:13 2014 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/util/JsonSchemaHelper.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/552f99ac/camel-core/src/main/java/org/apache/camel/util/JsonSchemaHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/JsonSchemaHelper.java b/camel-core/src/main/java/org/apache/camel/util/JsonSchemaHelper.java
index 76f27be..3ab566b 100644
--- a/camel-core/src/main/java/org/apache/camel/util/JsonSchemaHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/JsonSchemaHelper.java
@@ -46,7 +46,8 @@ public final class JsonSchemaHelper {
             return "enum";
         } else if (type.isArray()) {
             return "array";
-        } if (type.isAssignableFrom(URI.class) || type.isAssignableFrom(URL.class)) {
+        } 
+        if (type.isAssignableFrom(URI.class) || type.isAssignableFrom(URL.class)) {
             return "sting";
         }
 


Mime
View raw message