Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-su authored Mar 27, 2024
1 parent 4e397fb commit 874bdf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stub/src/main/java/io/grpc/stub/ServerCallStreamObserver.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public abstract class ServerCallStreamObserver<RespT> extends CallStreamObserver
* positive integer.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/11021")
public abstract void setOnReadyThreshold(int numBytes) {
public void setOnReadyThreshold(int numBytes) {
checkArgument(numBytes > 0, "numBytes must be positive: %s", numBytes);
}

Expand Down Expand Up @@ -144,7 +144,7 @@ public void disableAutoRequest() {
* @param onReadyHandler to call when peer is ready to receive more messages.
*/
@Override
public void setOnReadyHandler(Runnable onReadyHandler);
public abstract void setOnReadyHandler(Runnable onReadyHandler);

/**
* Requests the peer to produce {@code count} more messages to be delivered to the 'inbound'
Expand Down

0 comments on commit 874bdf5

Please sign in to comment.