Skip to content

Fix Javadoc @see tag and typo in error message in RingBuffer#510

Open
ParkJuhyeong (NYgomets) wants to merge 1 commit into
LMAX-Exchange:masterfrom
NYgomets:fix/ringbuffer-javadoc-and-typo
Open

Fix Javadoc @see tag and typo in error message in RingBuffer#510
ParkJuhyeong (NYgomets) wants to merge 1 commit into
LMAX-Exchange:masterfrom
NYgomets:fix/ringbuffer-javadoc-and-typo

Conversation

@NYgomets

Copy link
Copy Markdown

Summary

Fix two minor documentation/message issues in RingBuffer.java:

  1. Javadoc see (@see) tag: createSingleProducer(factory, bufferSize) referenced
    MultiProducerSequencer instead of SingleProducerSequencer.

  2. Error message typo: batchOverRuns() contained "batchStatsAt" which
    should be "batchStartsAt" (matches the actual parameter name).

Changes

  • RingBuffer.java: correct see (@see) tag on createSingleProducer
  • RingBuffer.java: fix typo in batchOverRuns error message

Testing

  • Existing tests pass: ./gradlew test
  • No behaviour changes, documentation and message fixes only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant