camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1144252 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java
Date Fri, 08 Jul 2011 10:57:19 GMT
Author: davsclaus
Date: Fri Jul  8 10:57:18 2011
New Revision: 1144252

URL: http://svn.apache.org/viewvc?rev=1144252&view=rev
Log:
Use final modifier if possible

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java?rev=1144252&r1=1144251&r2=1144252&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaEndpoint.java
Fri Jul  8 10:57:18 2011
@@ -52,8 +52,8 @@ public class SedaEndpoint extends Defaul
     private boolean multipleConsumers;
     private WaitForTaskToComplete waitForTaskToComplete = WaitForTaskToComplete.IfReplyExpected;
     private long timeout = 30000;
-    private volatile Set<SedaProducer> producers = new CopyOnWriteArraySet<SedaProducer>();
-    private volatile Set<SedaConsumer> consumers = new CopyOnWriteArraySet<SedaConsumer>();
+    private final Set<SedaProducer> producers = new CopyOnWriteArraySet<SedaProducer>();
+    private final Set<SedaConsumer> consumers = new CopyOnWriteArraySet<SedaConsumer>();
     private volatile MulticastProcessor consumerMulticastProcessor;
     private volatile boolean multicastStarted;
 



Mime
View raw message