move all subscription code into the SubscriptionHandlerProcessor

This commit is contained in:
Rob Austin
2015-06-22 12:57:18 +01:00
parent 87037c4abd
commit 1881c98778
@@ -85,7 +85,7 @@ public final class CharSequenceReader<S extends CharSequence>
public S read(Bytes bytes, long size) {
sb.setLength(0);
try {
AbstractBytes.readUTF0(bytes, sb, (int) size);
((AbstractBytes) bytes).readUTF0(sb, (int) size);
} catch (IOException e) {
throw new IllegalStateException(e);
}
@@ -107,7 +107,7 @@ public final class CharSequenceReader<S extends CharSequence>
appendable = sb;
}
try {
AbstractBytes.readUTF0(bytes, appendable, (int) size);
((AbstractBytes) bytes).readUTF0(appendable, (int) size);
} catch (IOException e) {
throw new IllegalStateException(e);
}