diff test/org/tmatesoft/hg/test/TestStatus.java @ 427:31a89587eb04

FIXMEs: consistent names, throws for commands and their handlers. Use of checked exceptions in hi-level api
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 17:14:35 +0200
parents 528b6780a8bd
children cd658b24a620
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestStatus.java	Wed Mar 28 19:34:37 2012 +0200
+++ b/test/org/tmatesoft/hg/test/TestStatus.java	Thu Mar 29 17:14:35 2012 +0200
@@ -182,7 +182,7 @@
 		private final Map<Path, List<Kind>> name2kinds = new TreeMap<Path, List<Kind>>();
 		private final Map<Path, Status> name2error = new LinkedHashMap<Path, Status>();
 
-		public void handleStatus(HgStatus s) {
+		public void status(HgStatus s) {
 			List<Path> l = kind2names.get(s.getKind());
 			if (l == null) {
 				kind2names.put(s.getKind(), l = new LinkedList<Path>());
@@ -196,7 +196,7 @@
 			k.add(s.getKind());
 		}
 		
-		public void handleError(Path file, Status s) {
+		public void error(Path file, Status s) {
 			name2error.put(file, s);
 		}