Skip to content

Commit

Permalink
[ISSUE#13021] fix comment typo on ServiceInfo(key) constructor (#13022)
Browse files Browse the repository at this point in the history
* fix comment typo on ServiceInfo(key) constructor

* fix comment typo on ServiceInfo#GROUP_POSITION field
  • Loading branch information
mawen12 authored Jan 13, 2025
1 parent 8a136c2 commit 8c0682b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public class ServiceInfo {

/**
* file name pattern: groupName@@name@clusters.
* file name pattern: groupName@@name@@clusters.
*/
private static final int GROUP_POSITION = 0;

Expand Down Expand Up @@ -83,7 +83,7 @@ public void setAllIPs(boolean allIPs) {
}

/**
* There is only one form of the key:groupName@@name@clusters. This constructor used by DiskCache.read(String) and
* There is only one form of the key:groupName@@name@@clusters. This constructor used by DiskCache.read(String) and
* FailoverReactor.FailoverFileReader,you should know that 'groupName' must not be null,and 'clusters' can be null.
*/
public ServiceInfo(final String key) {
Expand Down

0 comments on commit 8c0682b

Please sign in to comment.