Mercurial > hg4j
comparison src/org/tmatesoft/hg/internal/ManifestRevision.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 | 12f668401613 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 423:9c9c442b5f2e | 424:6437d261048a | 
|---|---|
| 28 * Note, suited to keep single revision only ({@link #changeset()}). | 28 * Note, suited to keep single revision only ({@link #changeset()}). | 
| 29 * | 29 * | 
| 30 * @author Artem Tikhomirov | 30 * @author Artem Tikhomirov | 
| 31 * @author TMate Software Ltd. | 31 * @author TMate Software Ltd. | 
| 32 */ | 32 */ | 
| 33 public final class ManifestRevision implements HgManifest.Inspector2 { | 33 public final class ManifestRevision implements HgManifest.Inspector { | 
| 34 private final TreeMap<Path, Nodeid> idsMap; | 34 private final TreeMap<Path, Nodeid> idsMap; | 
| 35 private final TreeMap<Path, HgManifest.Flags> flagsMap; | 35 private final TreeMap<Path, HgManifest.Flags> flagsMap; | 
| 36 private final Pool<Nodeid> idsPool; | 36 private final Pool<Nodeid> idsPool; | 
| 37 private final Pool<Path> namesPool; | 37 private final Pool<Path> namesPool; | 
| 38 private Nodeid changeset; | 38 private Nodeid changeset; | 
| 71 return changelogRev; | 71 return changelogRev; | 
| 72 } | 72 } | 
| 73 | 73 | 
| 74 // | 74 // | 
| 75 | 75 | 
| 76 public boolean next(Nodeid nid, String fname, String flags) { | |
| 77 throw new IllegalStateException(HgManifest.Inspector2.class.getName()); | |
| 78 } | |
| 79 | |
| 80 public boolean next(Nodeid nid, Path fname, HgManifest.Flags flags) { | 76 public boolean next(Nodeid nid, Path fname, HgManifest.Flags flags) { | 
| 81 if (namesPool != null) { | 77 if (namesPool != null) { | 
| 82 fname = namesPool.unify(fname); | 78 fname = namesPool.unify(fname); | 
| 83 } | 79 } | 
| 84 if (idsPool != null) { | 80 if (idsPool != null) { | 
