activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r733849 - /activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java
Date Mon, 12 Jan 2009 17:51:16 GMT
Author: chirino
Date: Mon Jan 12 09:51:08 2009
New Revision: 733849

URL: http://svn.apache.org/viewvc?rev=733849&view=rev
Log:
Fixing rotate() method

Modified:
    activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java

Modified: activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java
URL: http://svn.apache.org/viewvc/activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java?rev=733849&r1=733848&r2=733849&view=diff
==============================================================================
--- activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java (original)
+++ activemq/trunk/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java Mon Jan
12 09:51:08 2009
@@ -99,7 +99,7 @@
      * @return
      */
     public T rotate() {
-        return head = head.getNext();
+        return head = head.getNextCircular();
     }
 
     public int size() {



Mime
View raw message