Skip to content

Commit

Permalink
QUEUE-1 - changed to just bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Austin committed Feb 5, 2015
1 parent 04d86e5 commit 2fbcf47
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -65,17 +65,17 @@ public void testCreateAppender() throws Exception {
} }


private void readSome(DirectChronicle chronicle) throws IOException { private void readSome(DirectChronicle chronicle) throws IOException {
final Bytes tailer = chronicle.bytes(); final Bytes bytes = chronicle.bytes();
for (int i = 0; i < RUNS; i++) { for (int i = 0; i < RUNS; i++) {
assertEquals(EXPECTED_STRING, tailer.readUTF()); assertEquals(EXPECTED_STRING, bytes.readUTF());
} }
} }


private void writeSome(DirectChronicle chronicle) throws IOException { private void writeSome(DirectChronicle chronicle) throws IOException {


final Bytes appender = chronicle.bytes(); final Bytes bytes = chronicle.bytes();
for (int i = 0; i < RUNS; i++) { for (int i = 0; i < RUNS; i++) {
appender.writeUTF(EXPECTED_STRING); bytes.writeUTF(EXPECTED_STRING);
} }
} }


Expand Down

0 comments on commit 2fbcf47

Please sign in to comment.