Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDataFile.java @ 437:32184ddcf46d
Better argument names
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 17 Apr 2012 22:29:50 +0200 |
parents | 063b0663495a |
children | 909306e412e2 |
comparison
equal
deleted
inserted
replaced
436:9265f7f4b49b | 437:32184ddcf46d |
---|---|
360 * For a given revision of the file (identified with revision index), find out index of the corresponding changeset. | 360 * For a given revision of the file (identified with revision index), find out index of the corresponding changeset. |
361 * | 361 * |
362 * @return changeset revision index | 362 * @return changeset revision index |
363 * @throws HgRuntimeException subclass thereof to indicate issues with the library. <em>Runtime exception</em> | 363 * @throws HgRuntimeException subclass thereof to indicate issues with the library. <em>Runtime exception</em> |
364 */ | 364 */ |
365 public int getChangesetRevisionIndex(int revision) throws HgRuntimeException { | 365 public int getChangesetRevisionIndex(int fileRevisionIndex) throws HgRuntimeException { |
366 return content.linkRevision(revision); | 366 return content.linkRevision(fileRevisionIndex); |
367 } | 367 } |
368 | 368 |
369 /** | 369 /** |
370 * Complements {@link #getChangesetRevisionIndex(int)} to get changeset revision that corresponds to supplied file revision | 370 * Complements {@link #getChangesetRevisionIndex(int)} to get changeset revision that corresponds to supplied file revision |
371 * | 371 * |