merlimat commented on a change in pull request #10028:
URL: https://github.com/apache/pulsar/pull/10028#discussion_r603431035



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java
##########
@@ -882,7 +975,7 @@ public MemoryLimitController getMemoryLimitController() {
             }
             schema = schema.clone();
             if (schema.requireFetchingSchemaInfo()) {
-                Schema finalSchema = schema;
+                @SuppressWarnings("rawtypes") Schema finalSchema = schema;

Review comment:
       This should work too:
   
   ```suggestion
                   Schema<?> finalSchema = schema;
   ```




-- 
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:
[email protected]


Reply via email to