activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r760038 - /activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java
Date Mon, 30 Mar 2009 16:44:54 GMT
Author: chirino
Date: Mon Mar 30 16:44:53 2009
New Revision: 760038

URL: http://svn.apache.org/viewvc?rev=760038&view=rev
Log:
Avoid using a java 1.6 api

Modified:
    activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java

Modified: activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java?rev=760038&r1=760037&r2=760038&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java
(original)
+++ activemq/sandbox/activemq-flow/src/main/java/org/apache/activemq/broker/openwire/OpenwireProtocolHandler.java
Mon Mar 30 16:44:53 2009
@@ -458,7 +458,7 @@
                 if (isDurable()) {
                     MessageId id = info.getLastMessageId();
                     while (!pendingMessageIds.isEmpty()) {
-                        MessageId pendingId = pendingMessageIds.peekFirst();
+                        MessageId pendingId = pendingMessageIds.getFirst();
                         MessageDelivery delivery = pendingMessages.remove(pendingId);
                         delivery.delete(durableQueueName);
                         pendingMessageIds.removeFirst();



Mime
View raw message