activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r991102 - in /activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra: ActiveMQConnectionRequestInfo.java ActiveMQConnectionSupport.java
Date Tue, 31 Aug 2010 07:30:13 GMT
Author: gtully
Date: Tue Aug 31 07:30:13 2010
New Revision: 991102

URL: http://svn.apache.org/viewvc?rev=991102&view=rev
Log:
resolve https://issues.apache.org/activemq/browse/AMQ-2889 - fix setter type

Modified:
    activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
    activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionSupport.java

Modified: activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java?rev=991102&r1=991101&r2=991102&view=diff
==============================================================================
--- activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
(original)
+++ activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
Tue Aug 31 07:30:13 2010
@@ -213,9 +213,9 @@ public class ActiveMQConnectionRequestIn
         return Boolean.valueOf(redeliveryPolicy().isUseExponentialBackOff());
     }
 
-    public void setRedeliveryBackOffMultiplier(Short value) {
+    public void setRedeliveryBackOffMultiplier(Double value) {
         if (value != null) {
-            redeliveryPolicy().setBackOffMultiplier(value.shortValue());
+            redeliveryPolicy().setBackOffMultiplier(value);
         }
     }
 

Modified: activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionSupport.java?rev=991102&r1=991101&r2=991102&view=diff
==============================================================================
--- activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionSupport.java
(original)
+++ activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionSupport.java
Tue Aug 31 07:30:13 2010
@@ -313,7 +313,7 @@ public class ActiveMQConnectionSupport {
     /**
      * @param value
      */
-    public void setRedeliveryBackOffMultiplier(Short value) {
+    public void setRedeliveryBackOffMultiplier(Double value) {
         if ( log.isDebugEnabled() ) {
             log.debug("setting [redeliveryBackOffMultiplier] to: " + value);
         }



Mime
View raw message