activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r384275 - /incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
Date Wed, 08 Mar 2006 17:32:20 GMT
Author: jstrachan
Date: Wed Mar  8 09:32:19 2006
New Revision: 384275

URL: http://svn.apache.org/viewcvs?rev=384275&view=rev
Log:
applied patch from Fabio Ospitia Trujillo

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

Modified: incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java?rev=384275&r1=384274&r2=384275&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
(original)
+++ incubator/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQConnectionRequestInfo.java
Wed Mar  8 09:32:19 2006
@@ -298,7 +298,7 @@
      * breaking compatibility with JCA configuration in J2EE
      */
     public RedeliveryPolicy redeliveryPolicy() {
-        if (redeliveryPolicy != null) {
+        if (redeliveryPolicy == null) {
             redeliveryPolicy = new RedeliveryPolicy();
         }
         return redeliveryPolicy;
@@ -309,7 +309,7 @@
      * breaking compatibility with JCA configuration in J2EE
      */
     public ActiveMQPrefetchPolicy prefetchPolicy() {
-        if (prefetchPolicy != null) {
+        if (prefetchPolicy == null) {
             prefetchPolicy = new ActiveMQPrefetchPolicy();
         }
         return prefetchPolicy;



Mime
View raw message