qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject qpid-jms git commit: QPIDJMS-175: use the method to do the lookup as the preceding check did
Date Tue, 10 May 2016 12:05:23 GMT
Repository: qpid-jms
Updated Branches:
  refs/heads/master 18f7a894c -> 590b3c65d


QPIDJMS-175: use the method to do the lookup as the preceding check did


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

Branch: refs/heads/master
Commit: 590b3c65dae57bd0f21050ef13674121b4bf9766
Parents: 18f7a89
Author: Robert Gemmell <robbie@apache.org>
Authored: Tue May 10 12:59:33 2016 +0100
Committer: Robert Gemmell <robbie@apache.org>
Committed: Tue May 10 12:59:33 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/590b3c65/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageProducer.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageProducer.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageProducer.java
index f8d5684..ea2d2c9 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageProducer.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageProducer.java
@@ -226,7 +226,7 @@ public class JmsMessageProducer implements AutoCloseable, MessageProducer
{
                 jmsEx = new IllegalStateException("The MessageProducer is closed");
             } else {
                 jmsEx = new IllegalStateException("The MessageProducer was closed due to
an unrecoverable error.");
-                jmsEx.initCause(failureCause.get());
+                jmsEx.initCause(getFailureCause());
             }
 
             throw jmsEx;


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


Mime
View raw message