camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/6] camel git commit: CAMEL-10215: Fixed CS. This closes #1099
Date Tue, 02 Aug 2016 06:49:20 GMT
CAMEL-10215: Fixed CS. This closes #1099


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

Branch: refs/heads/master
Commit: c173bdb40dda294be742164f4641d10bcc2aca01
Parents: d349440
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Aug 2 08:48:13 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Aug 2 08:48:13 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/impl/EventDrivenPollingConsumer.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c173bdb4/camel-core/src/main/java/org/apache/camel/impl/EventDrivenPollingConsumer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/EventDrivenPollingConsumer.java
b/camel-core/src/main/java/org/apache/camel/impl/EventDrivenPollingConsumer.java
index 1e2ffcd..df00e0d 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/EventDrivenPollingConsumer.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/EventDrivenPollingConsumer.java
@@ -114,8 +114,8 @@ public class EventDrivenPollingConsumer extends PollingConsumerSupport
implement
         }
 
         while (isRunAllowed()) {
-            // CAMEL-10215 - Synchronizing the ordering of beforePoll, poll and afterPoll
as an atomic activity
-            synchronized(this) {
+            // synchronizing the ordering of beforePoll, poll and afterPoll as an atomic
activity
+            synchronized (this) {
                 try {
                     beforePoll(0);
                     // take will block waiting for message
@@ -137,8 +137,8 @@ public class EventDrivenPollingConsumer extends PollingConsumerSupport
implement
             throw new RejectedExecutionException(this + " is not started, but in state: "
+ getStatus().name());
         }
 
-        // CAMEL-10215 - Synchronizing the ordering of beforePoll, poll and afterPoll as
an atomic activity
-        synchronized(this) {
+        // synchronizing the ordering of beforePoll, poll and afterPoll as an atomic activity
+        synchronized (this) {
             try {
                 // use the timeout value returned from beforePoll
                 timeout = beforePoll(timeout);


Mime
View raw message