You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/03 02:28:21 UTC
[GitHub] [pulsar] gaoran10 edited a comment on pull request #11490: [ManagedLedger] Compress managed ledger info
gaoran10 edited a comment on pull request #11490:
URL: https://github.com/apache/pulsar/pull/11490#issuecomment-891463702
> Should we change their positions so as to avoid NPE ?
>
> ```
> metadata.getCompressionType().equals(CompressionType.ZLIB.name())
> ```
>
> change to
>
> ```
> CompressionType.ZLIB.name().equals(...)
> ```
Good catch, I'll change it, though the parameter `compressionType` of the metadata is required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org