Skip to content

Fix grammatical errors in documentation in SlidingWindow.kt #5268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gw111zz
Copy link

@gw111zz gw111zz commented Feb 22, 2024

Fix grammatical errors in the ring buffer class

Fix grammatical errors in the ring buffer class
@@ -165,7 +165,7 @@ private class RingBuffer<T>(private val buffer: Array<Any?>, filledSize: Int) :
}

/**
* Add [element] to the buffer or fail with [IllegalStateException] if no free space available in the buffer
* Add [element] to the buffer or fail with [IllegalStateException] if no free space is available in the buffer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be "Adds .. or fails .."?

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

Successfully merging this pull request may close these issues.

3 participants