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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
