diff src/org/tmatesoft/hg/core/HgManifestCommand.java @ 424:6437d261048a

Deprecated code removed
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 28 Mar 2012 15:42:15 +0200
parents 9c9c442b5f2e
children 31a89587eb04
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgManifestCommand.java	Fri Mar 23 22:51:18 2012 +0100
+++ b/src/org/tmatesoft/hg/core/HgManifestCommand.java	Wed Mar 28 15:42:15 2012 +0200
@@ -131,7 +131,7 @@
 	}
 
 	// I'd rather let HgManifestCommand implement HgManifest.Inspector directly, but this pollutes API alot
-	private class Mediator implements HgManifest.Inspector2 {
+	private class Mediator implements HgManifest.Inspector {
 		// file names are likely to repeat in each revision, hence caching of Paths.
 		// However, once HgManifest.Inspector switches to Path objects, perhaps global Path pool
 		// might be more effective?
@@ -181,9 +181,6 @@
 			manifestNodeid = null;
 			return true;
 		}
-		public boolean next(Nodeid nid, String fname, String flags) {
-			throw new IllegalStateException(HgManifest.Inspector2.class.getName());
-		}
 		
 		public boolean next(Nodeid nid, Path fname, Flags flags) {
 			if (matcher != null && !matcher.accept(fname)) {