Skip to content

Commit

Permalink
Merge pull request #335 from bug-bulletin-forks/master
Browse files Browse the repository at this point in the history
Fix a few Javadoc typos
  • Loading branch information
peter-lawrey committed Jan 31, 2017
2 parents 59e0eb5 + 1492ec1 commit 17ef4d3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private enum States {BUSY, READY, USED}
public interface BytesProvider {

/**
* sets up a buffer to back the ring buffer, the data wil be read into this buffer the size of the buffer must
* sets up a buffer to back the ring buffer, the data will be read into this buffer the size of the buffer must
* be as big as {@code maxSize}
*
* @param maxSize the number of bytes required
Expand Down Expand Up @@ -290,7 +290,7 @@ void setReadLocation(long value) {
}

/**
* This is a Bytes ( like ) implementation where the backing buffer is a ring buffer In the
* This is a Bytes ( like ) implementation where the backing buffer is a ring buffer. In the
* future we could extend this class to implement Bytes.
*/
private class RingBuffer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public B buffered(boolean isBuffered) {
}

/**
* @return if we uses a ring buffer to buffer the appends, the Excerts are written to the
* @return if we uses a ring buffer to buffer the appends, the Excerpts are written to the
* Chronicle Queue using a background thread
*/
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public interface WireStoreSupplier {
* the cycles between a range, inclusive
*
* @param lowerCycle the lower cycle inclusive
* @param upperCycle the uper cycle inclusive
* @param upperCycle the upper cycle inclusive
* @return the cycles between a range, inclusive
* @throws ParseException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void writeMarshallable(@NotNull WireOut wire) {
/**
* atomically gets or creates the address of the first index the index is create and another
* except into the queue, however this except is treated as meta data and does not increment the
* last index, in otherword it is not possible to access this except by calling index(), it
* last index, in other words it is not possible to access this except by calling index(), it
* effectively invisible to the end-user
*
* @param recovery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ public int nextCycle(int currentCycle, TailerDirection direction) throws ParseEx
* the cycles between a range, inclusive
*
* @param lowerCycle the lower cycle inclusive
* @param upperCycle the uper cycle inclusive
* @param upperCycle the upper cycle inclusive
* @return the cycles between a range, inclusive
* @throws ParseException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ private void rollCycleTo(int cycle) throws UnrecoverableTimeoutException {

/**
* Write an EOF marker on the current cycle if it is about to roll. It would do this any way
* if a new message wis written, but this doesn't create a new cycle or add a message.
* if a new message was written, but this doesn't create a new cycle or add a message.
*/
public void writeEndOfCycleIfRequired() {
if (wire != null && queue.cycle() != cycle) {
Expand Down

0 comments on commit 17ef4d3

Please sign in to comment.