camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [5/5] camel git commit: Fixed CS. This closes #1969
Date Wed, 27 Sep 2017 13:42:10 GMT
Fixed CS. This closes #1969


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

Branch: refs/heads/camel-2.19.x
Commit: 93ec6f3a787dd6271527101b23b70aa5b22f5530
Parents: 3af062b
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Sep 27 15:40:04 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Sep 27 15:41:58 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/mongodb/MongoDbTailingProcess.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/93ec6f3a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
----------------------------------------------------------------------
diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
index a93cd11..6192949 100644
--- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
+++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
@@ -96,7 +96,7 @@ public class MongoDbTailingProcess implements Runnable {
     private Boolean isCollectionCapped() {
         // A non-capped collection does not return a "capped" key/value, so we have to deal
with null here
         Boolean result = endpoint.getMongoDatabase().runCommand(createCollStatsCommand()).getBoolean(CAPPED_KEY);
-        return (result != null ? result : false);
+        return result != null ? result : false;
     }
 
     private BasicDBObject createCollStatsCommand() {


Mime
View raw message