-
Notifications
You must be signed in to change notification settings - Fork 28.8k
[MINOR][CONNECT] Fix typos in ExecuteGrpcResponseSender.scala #52143
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
base: master
Are you sure you want to change the base?
Conversation
@@ -75,7 +76,7 @@ private[connect] class ExecuteGrpcResponseSender[T <: Message]( | |||
} | |||
|
|||
// For testing | |||
private[connect] def setDeadline(deadlineNs: Long) = { | |||
private[connect] def setDeadline(deadlineNs: Long): Unit = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to give you just one tiny advice to you, @luisteod . Please don't mix irrelevant themes into a single PR. This is not a typo fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it! May I just leave the comments typo fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply revert this line change by removing : Unit
back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -300,10 +301,10 @@ private[connect] class ExecuteGrpcResponseSender[T <: Message]( | |||
if (sent) { | |||
sentResponsesSize += response.get.serializedByteSize | |||
nextIndex += 1 | |||
assert(finished == false) | |||
assert(!finished) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto. This is not a type fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
What changes were proposed in this pull request?
This PR fix typos in ExecuteGrpcResponseSender.scala
Why are the changes needed?
For readability improvement
Does this PR introduce any user-facing change?
No
How was this patch tested?
Run manual tests
Was this patch authored or co-authored using generative AI tooling?
No