diff src/org/tmatesoft/hg/internal/ByteArrayChannel.java @ 148:1a7a9a20e1f9

Exceptions, javadoc. Initial cancel and progress support
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 23 Feb 2011 22:36:28 +0100
parents 7567f4a42fe5
children e1b29756f901
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/ByteArrayChannel.java	Tue Feb 22 15:49:26 2011 +0100
+++ b/src/org/tmatesoft/hg/internal/ByteArrayChannel.java	Wed Feb 23 22:36:28 2011 +0100
@@ -49,7 +49,7 @@
 	}
 
 	// TODO document what happens on write after toArray() in each case
-	public int write(ByteBuffer buffer) throws Exception {
+	public int write(ByteBuffer buffer) {
 		int rv = buffer.remaining();
 		if (buffers == null) {
 			target.put(buffer);