Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/Revlog.java @ 403:2747b0723867
FIXMEs: work on exceptions and javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 05 Mar 2012 14:50:51 +0100 |
parents | f52ca9530774 |
children | 866fc3b597a0 |
comparison
equal
deleted
inserted
replaced
402:1fcc7f7b6d65 | 403:2747b0723867 |
---|---|
394 } | 394 } |
395 } | 395 } |
396 | 396 |
397 private void assertSortedIndex(int x) { | 397 private void assertSortedIndex(int x) { |
398 if (x < 0) { | 398 if (x < 0) { |
399 throw new HgBadStateException(); | 399 throw new HgBadStateException(String.format("Bad index", x)); |
400 } | 400 } |
401 } | 401 } |
402 | 402 |
403 /** | 403 /** |
404 * Tells whether supplied revision is from the walker's associated revlog. | 404 * Tells whether supplied revision is from the walker's associated revlog. |