Open stuartsierra opened 9 years ago
In the README, under "Write some records", the boolean variable sync is unused:
sync
for (int i = 0; i < writes; i++) { boolean sync = i % 2 == 0 ? true : false; journal.write(new String("DATA" + i), WriteType.SYNC); }
This might have originated with this example in the HawtJournal README:
for (int i = 0; i < writes; i++) { boolean sync = i % 2 == 0 ? true : false; journal.write(ByteBuffer.wrap(new String("DATA" + i).getBytes("UTF-8")), sync); }
In the README, under "Write some records", the boolean variable
sync
is unused:This might have originated with this example in the HawtJournal README: