yu199195 commented on a change in pull request #2446:
URL: https://github.com/apache/incubator-shenyu/pull/2446#discussion_r755876812
##########
File path:
shenyu-plugin/shenyu-plugin-sofa/src/main/java/org/apache/shenyu/plugin/sofa/cache/ApplicationConfigCache.java
##########
@@ -199,55 +202,61 @@ private String buildLoadBalanceName(final String
loadBalance) {
public void invalidate(final String path) {
cache.invalidate(path);
}
-
+
/**
* Invalidate all.
*/
public void invalidateAll() {
cache.invalidateAll();
}
-
+
/**
* The type Application config cache instance.
*/
- static class ApplicationConfigCacheInstance {
+ static final class ApplicationConfigCacheInstance {
+
/**
* The Instance.
*/
static final ApplicationConfigCache INSTANCE = new
ApplicationConfigCache();
- }
+
+ private ApplicationConfigCacheInstance() {
+
+ }
+ }
+
/**
* The type Sofa param ext info.
*/
static class SofaParamExtInfo {
-
- private String loadbalance;
-
+
+ private String loadBalance;
Review comment:
not nodify this
--
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]