```scala
if (blockManager.shouldCompress(blockId)) codec.compressedOutputStream(outputStream)
else outputStream
```
Add the `{ }` noise, if you must.