Fixing rotate() method

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@733849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2009-01-12 17:51:08 +00:00
parent 8b9e755035
commit 050436d72c
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class LinkedNodeList<T extends LinkedNode<T>> {
* @return
*/
public T rotate() {
return head = head.getNext();
return head = head.getNextCircular();
}
public int size() {