Mercurial > jhg
diff src/org/tmatesoft/hg/repo/Revlog.java @ 437:32184ddcf46d
Better argument names
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 17 Apr 2012 22:29:50 +0200 |
parents | be697c3e951e |
children | 909306e412e2 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/Revlog.java Tue Apr 17 22:29:25 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/Revlog.java Tue Apr 17 22:29:50 2012 +0200 @@ -92,14 +92,14 @@ /** * Map revision index to unique revision identifier (nodeid). * - * @param revision index of the entry in this revlog, may be {@link HgRepository#TIP} + * @param revisionIndex index of the entry in this revlog, may be {@link HgRepository#TIP} * @return revision nodeid of the entry * * @throws HgRuntimeException subclass thereof to indicate issues with the library. <em>Runtime exception</em> */ - public final Nodeid getRevision(int revision) throws HgRuntimeException { + public final Nodeid getRevision(int revisionIndex) throws HgRuntimeException { // XXX cache nodeids? Rather, if context.getCache(this).getRevisionMap(create == false) != null, use it - return Nodeid.fromBinary(content.nodeid(revision), 0); + return Nodeid.fromBinary(content.nodeid(revisionIndex), 0); } /**