Skip to content

Commit

Permalink
corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Austin committed Jan 24, 2018
1 parent 40b969d commit e10c2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/openhft/chronicle/wire/AbstractWire.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public long writeHeaderOfUnknownLength(final int safeLength, final long timeout,
* this would be done much in the same way that we store the index, containing both the cycle and seq number ),
* or to put it another way, this LongValue will store the end of the lastPosition in the same place that the index stores it’s cycle number.
* <p>
* When ever we store the lastPostion, we should also store the seqAndLastPosition.
* When ever we store the lastPosition, we should also store the seqAndLastPosition.
* <p>
* so to get the the lastPosition and the sequence number of the approximate end of the queue, first we read the lastPosition,
* then we read the seqAndLastPosition, if the last bits of the lastPosition, match the higher bits of seqAndLastPosition
Expand Down

0 comments on commit e10c2be

Please sign in to comment.