ARTEMIS-127 Fixing sync on non-final object for ArtemisBrokerWrapper

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

Branch: refs/heads/master
Commit: aab34e5bd01757c3305691e80d7d3588e5ca0cbe
Parents: 6189522
Author: Thiago Kronig <thiagokro...@gmail.com>
Authored: Wed Jun 10 13:23:03 2015 -0300
Committer: Thiago Kronig <thiagokro...@gmail.com>
Committed: Thu Jun 11 23:58:13 2015 -0300

----------------------------------------------------------------------
 .../activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/aab34e5b/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java
 
b/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java
index 86580e1..b739730 100644
--- 
a/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java
+++ 
b/tests/activemq5-unit-tests/src/main/java/org/apache/activemq/broker/artemiswrapper/ArtemisBrokerWrapper.java
@@ -38,7 +38,7 @@ import org.apache.activemq.broker.BrokerService;
 public class ArtemisBrokerWrapper extends ArtemisBrokerBase
 {
 
-   protected Map<String, SimpleString> testQueues = new HashMap<String, 
SimpleString>();
+   protected final Map<String, SimpleString> testQueues = new HashMap<String, 
SimpleString>();
 
    public ArtemisBrokerWrapper(BrokerService brokerService)
    {

Reply via email to