From a29d6b968d8b00f2e892c5cacf5a1e51a58eebba Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 16 Mar 2009 15:24:46 +0000
Subject: [PATCH] Fix a problem with a unit test using LinkedList.pop() which does not exist with JDK1.5

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
index 9bb2a4e..ce473b6 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
@@ -108,7 +108,7 @@
 
   public UpdateToReplay take() throws InterruptedException
   {
-    return list.pop();
+    return list.removeFirst();
   }
 
   public UpdateToReplay element()

--
Gitblit v1.10.0