kimmking commented on a change in pull request #4825: orchestration mode code 
optimization .
URL: 
https://github.com/apache/incubator-shardingsphere/pull/4825#discussion_r394395966
 
 

 ##########
 File path: 
sharding-orchestration/sharding-orchestration-center/sharding-orchestration-center-zookeeper-curator/src/main/java/org/apache/shardingsphere/orchestration/center/instance/CuratorZookeeperCenterRepository.java
 ##########
 @@ -86,7 +86,7 @@ private CuratorFramework buildCuratorClient(final 
CenterConfiguration config, fi
             builder.connectionTimeoutMs(operationTimeoutMilliseconds);
         }
         if (!Strings.isNullOrEmpty(digest)) {
-            builder.authorization("digest", digest.getBytes(Charsets.UTF_8))
+            builder.authorization("digest", 
digest.getBytes(StandardCharsets.UTF_8))
 
 Review comment:
   remove nio static, use local static field.

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


With regards,
Apache Git Services

Reply via email to