diff src/org/tmatesoft/hg/repo/HgParentChildMap.java @ 663:46b56864b483

Pull: phase2 - update phases from remote, fncache with added files. Tests
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 10 Jul 2013 16:41:49 +0200
parents af5223b86dd3
children d25f0324a27a
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgParentChildMap.java	Wed Jul 10 11:53:19 2013 +0200
+++ b/src/org/tmatesoft/hg/repo/HgParentChildMap.java	Wed Jul 10 16:41:49 2013 +0200
@@ -135,9 +135,9 @@
 		heads = _heads;
 	}
 	
-	private void assertSortedIndex(int x) {
+	private static void assertSortedIndex(int x) {
 		if (x < 0) {
-			throw new HgInvalidStateException(String.format("Bad index", x));
+			throw new HgInvalidStateException(String.format("Bad index %d", x));
 		}
 	}