diff src/org/tmatesoft/hg/core/ChangesetTransformer.java @ 205:ffc5f6d59f7e

HgLogCommand.Handler is used in few places, pull up to top-level class, HgChangesetHandler
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 28 Apr 2011 02:00:42 +0200
parents c9b305df0b89
children 41a778e3fd31
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/ChangesetTransformer.java	Tue Apr 26 23:58:15 2011 +0200
+++ b/src/org/tmatesoft/hg/core/ChangesetTransformer.java	Thu Apr 28 02:00:42 2011 +0200
@@ -19,9 +19,9 @@
 import java.util.Set;
 
 import org.tmatesoft.hg.repo.HgChangelog;
+import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
 import org.tmatesoft.hg.repo.HgRepository;
 import org.tmatesoft.hg.repo.HgStatusCollector;
-import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
 import org.tmatesoft.hg.util.PathPool;
 import org.tmatesoft.hg.util.PathRewrite;
 
@@ -32,12 +32,12 @@
  * @author TMate Software Ltd.
  */
 /*package-local*/ class ChangesetTransformer implements HgChangelog.Inspector {
-	private final HgLogCommand.Handler handler;
+	private final HgChangesetHandler handler;
 	private final HgChangeset changeset;
 	private Set<String> branches;
 
 	// repo and delegate can't be null, parent walker can
-	public ChangesetTransformer(HgRepository hgRepo, HgLogCommand.Handler delegate, HgChangelog.ParentWalker pw) {
+	public ChangesetTransformer(HgRepository hgRepo, HgChangesetHandler delegate, HgChangelog.ParentWalker pw) {
 		if (hgRepo == null || delegate == null) {
 			throw new IllegalArgumentException();
 		}