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/12/15 07:41:00 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #13298: [11646][Pulsar Java client] Fix ConfigurationDataUtils loadConf strategy

codelipenghui commented on a change in pull request #13298:
URL: https://github.com/apache/pulsar/pull/13298#discussion_r769336408



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ConfigurationDataUtils.java
##########
@@ -51,20 +51,18 @@ public static ObjectMapper getThreadLocal() {
         return mapper.get();
     }
 
-    private ConfigurationDataUtils() {}
+    private ConfigurationDataUtils() {
+    }
 
     public static <T> T loadData(Map<String, Object> config,
                                  T existingData,
                                  Class<T> dataCls) {

Review comment:
       The `dataCls` becomes useless after the new change, we should remove it.




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