Repository: qpid-jms
Updated Branches:
  refs/heads/master d5be8518e -> f29284c6c


QPIDJMS-401 Remove unneeded volatile tag on variable

Removed volatile on the error member as it will be sync'd by the atomic
update on the state when written.

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

Branch: refs/heads/master
Commit: f29284c6ccf74c9186cea35302c8896cc8089ac5
Parents: d5be851
Author: Timothy Bish <tabish...@gmail.com>
Authored: Wed Jul 11 15:07:25 2018 -0400
Committer: Timothy Bish <tabish...@gmail.com>
Committed: Wed Jul 11 15:07:25 2018 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/f29284c6/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java
----------------------------------------------------------------------
diff --git 
a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java
 
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java
index c228a1f..e62db63 100644
--- 
a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java
+++ 
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderFuture.java
@@ -47,7 +47,7 @@ public class ProviderFuture implements AsyncResult {
             AtomicIntegerFieldUpdater.newUpdater(ProviderFuture.class,"state");
 
     private volatile int state = INCOMPLETE;
-    private volatile Throwable error;
+    private Throwable error;
 
     private int waiting;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to