This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 6c1e4565f5 feat: add final modifier (#10279)
6c1e4565f5 is described below
commit 6c1e4565f55223e1617bf1fc4877916244c0177c
Author: YHRivory <[email protected]>
AuthorDate: Wed Jul 6 19:38:54 2022 +0800
feat: add final modifier (#10279)
---
.../main/java/org/apache/dubbo/registry/support/AbstractRegistry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java
index e35eb66d39..f72aa5877f 100644
---
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java
+++
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java
@@ -95,7 +95,7 @@ public abstract class AbstractRegistry implements Registry {
private URL registryUrl;
// Local disk cache file
private File file;
- private boolean localCacheEnabled;
+ private final boolean localCacheEnabled;
protected RegistryManager registryManager;
protected ApplicationModel applicationModel;