Commit a91ccc4
committed
fix: add setMessageCompression override to AbstractClientStream and InProcessClientStream
NettyClientStream extends AbstractClientStream but compilation failed because
AbstractClientStream did not override the new ClientStream.setMessageCompression(boolean, String)
method added to the interface. The method was only on the inner TransportState class.
Add the override to AbstractClientStream that delegates to transportState(),
matching the pattern of setDecompressorRegistry. Also add the override to
InProcessClientStream (noop, matching existing setMessageCompression(boolean)).
Signed-off-by: jlaportebot <jlaportebot@gmail.com>1 parent 1c39005 commit a91ccc4
2 files changed
Lines changed: 16 additions & 0 deletions
File tree
- core/src/main/java/io/grpc/internal
- inprocess/src/main/java/io/grpc/inprocess
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
150 | 161 | | |
151 | 162 | | |
152 | 163 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
671 | 676 | | |
672 | 677 | | |
673 | 678 | | |
| |||
0 commit comments