diff test/org/tmatesoft/hg/test/RepoUtils.java @ 622:4e6179bde4fc

Update to comply with Java 1.5 target
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 May 2013 16:56:40 +0200
parents 6ca3d0c5b4bc
children fedc54356091
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/RepoUtils.java	Sat May 18 22:23:57 2013 +0200
+++ b/test/org/tmatesoft/hg/test/RepoUtils.java	Mon May 20 16:56:40 2013 +0200
@@ -26,6 +26,7 @@
 import java.io.IOException;
 import java.util.ArrayList;
 
+import org.tmatesoft.hg.core.HgIOException;
 import org.tmatesoft.hg.internal.RepoInitializer;
 import org.tmatesoft.hg.repo.HgRepository;
 
@@ -36,7 +37,7 @@
  */
 public class RepoUtils {
 
-	static File initEmptyTempRepo(String dirName) throws IOException {
+	static File initEmptyTempRepo(String dirName) throws IOException, HgIOException {
 		File dest = createEmptyDir(dirName);
 		RepoInitializer ri = new RepoInitializer();
 		ri.setRequires(STORE | FNCACHE | DOTENCODE);