-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Examples: Updated HelloWorldServer to use Executor #11850
Conversation
examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java
Outdated
Show resolved
Hide resolved
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.
Is this the problem only with this example or do we need changes in other examples as well?
cc: @larry-safran
Only update this one example. The executor is not required so we want
examples both with and without it.
…On Tue, Feb 4, 2025 at 11:31 PM MV Shiva ***@***.***> wrote:
***@***.**** commented on this pull request.
Is this the problem only with this example or do we need changes in other
examples as well? @larry-safran <https://github.com/larry-safran>
—
Reply to this email directly, view it on GitHub
<#11850 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZQMCXRIVTPC4PY7NQY3JQL2OG44TAVCNFSM6AAAAABVW7NJC2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKOJUHAZTQNRUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/io/grpc/examples/helloworld/HelloWorldServer.java
Outdated
Show resolved
Hide resolved
@@ -20,9 +20,12 @@ | |||
import io.grpc.InsecureServerCredentials; | |||
import io.grpc.Server; | |||
import io.grpc.stub.StreamObserver; | |||
import io.grpc.ServerBuilder; |
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 don't see this getting used anywhere! Remove this import.
I wonder how it is making this far by clearing all the github tests. It should already be failing in checkstyle saying unused import or something!!! @ejona86
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.
Fixed, In local build as well as in the PR check, I don't see any issues related to the same
Fixes: #2263