From 65606dc08637de23d0486d84709f2f33a1bcc9a3 Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Sun, 19 Jun 2011 08:58:25 -0500 Subject: Refactor out ReflogEntry It's useful to have ReflogEntry refactored out so it can be used by clients via the JGit API. Change-Id: I03044df9af9f9547777545b7c9b93bdf5f8b7cb5 Signed-off-by: Chris Aniszczyk --- .../tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse/jgit') diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java index cd127cdeaf..eff2852a78 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java +++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java @@ -89,6 +89,7 @@ import org.eclipse.jgit.lib.Ref; import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.revwalk.RevBlob; import org.eclipse.jgit.revwalk.RevCommit; +import org.eclipse.jgit.storage.file.ReflogEntry; import org.eclipse.jgit.storage.file.FileBasedConfig; import org.eclipse.jgit.storage.file.FileRepository; import org.eclipse.jgit.storage.file.ReflogReader; @@ -558,7 +559,7 @@ public class SmartClientSmartServerTest extends HttpTestCase { final ReflogReader log = remoteRepository.getReflogReader(dstName); assertNotNull("has log for " + dstName); - final ReflogReader.Entry last = log.getLastEntry(); + final ReflogEntry last = log.getLastEntry(); assertNotNull("has last entry", last); assertEquals(ObjectId.zeroId(), last.getOldId()); assertEquals(Q, last.getNewId()); -- cgit v1.2.3