From 050436d72c40200af53c56e283eea1519b147e15 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Mon, 12 Jan 2009 17:51:08 +0000 Subject: [PATCH] Fixing rotate() method git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@733849 13f79535-47bb-0310-9956-ffa450edef68 --- kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java b/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java index 37bf958c98..ef9f5a0cc0 100644 --- a/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java +++ b/kahadb/src/main/java/org/apache/kahadb/util/LinkedNodeList.java @@ -99,7 +99,7 @@ public class LinkedNodeList> { * @return */ public T rotate() { - return head = head.getNext(); + return head = head.getNextCircular(); } public int size() {