mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
added testConverMarshallableToTextName
This commit is contained in:
+2
-2
@@ -85,7 +85,7 @@ public final class CharSequenceReader<S extends CharSequence>
|
||||
public S read(Bytes bytes, long size) {
|
||||
sb.setLength(0);
|
||||
try {
|
||||
((AbstractBytes) bytes).readUTF0(sb, (int) size);
|
||||
AbstractBytes.readUTF0(bytes, 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) bytes).readUTF0(appendable, (int) size);
|
||||
AbstractBytes.readUTF0(bytes, appendable, (int) size);
|
||||
} catch (IOException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user