diff cmdline/org/tmatesoft/hg/console/Cat.java @ 150:6b55f10ef54b

Unused variables removed.
author Alexander Kitaev <kitaev@gmail.com>
date Thu, 24 Feb 2011 18:53:33 +0100
parents b9700740553a
children d5268ca7715b
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Cat.java	Thu Feb 24 18:52:46 2011 +0100
+++ b/cmdline/org/tmatesoft/hg/console/Cat.java	Thu Feb 24 18:53:33 2011 +0100
@@ -18,6 +18,7 @@
 
 import static org.tmatesoft.hg.repo.HgRepository.TIP;
 
+import java.io.IOException;
 import java.io.OutputStream;
 import java.nio.ByteBuffer;
 
@@ -61,7 +62,7 @@
 			stream = out;
 		}
 
-		public int write(ByteBuffer buffer) throws Exception {
+		public int write(ByteBuffer buffer) throws IOException {
 			int count = buffer.remaining();
 			while(buffer.hasRemaining()) {
 				stream.write(buffer.get());