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/05/19 12:47:19 UTC

[GitHub] [pulsar] atezs82 edited a comment on pull request #10574: [Issue 905][api][pulsar-client] add serializable token class

atezs82 edited a comment on pull request #10574:
URL: https://github.com/apache/pulsar/pull/10574#issuecomment-844071384


   @merlimat Please excuse my limited knowledge on the `pulsar-client`. On the other hand, it seems that you have handled a very similar Findbugs issue in the `AuthenticationTls` class as well (line 49):
   ```java
   @SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "Using custom serializer which Findbugs can't detect")
   private Supplier<ByteArrayInputStream> certStreamProvider, keyStreamProvider, trustStoreStreamProvider;
   ``` 
   Based on this, I also added a similar suppress annotation to `AuthenticationDataTls` (I am not exactly sure why this was missing from there though).
   
   Let me know if this approach shall be OK or shall I modify the custom deserializer logic instead. Thanks!


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org