From da34fbd4114c7975c0b06716a848661b830cac8b Mon Sep 17 00:00:00 2001 From: ZhangShenao <15201440436@163.com> Date: Tue, 5 Jul 2022 17:43:36 +0800 Subject: [PATCH] Fix word spelling (#8678) * Fix Word Spelling 'Naocs' in Comment * Fix Word Spelling in Comment and Log of `ServiceInfo` --- .../java/com/alibaba/nacos/api/naming/pojo/ServiceInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/com/alibaba/nacos/api/naming/pojo/ServiceInfo.java b/api/src/main/java/com/alibaba/nacos/api/naming/pojo/ServiceInfo.java index b8427a743..811177a54 100644 --- a/api/src/main/java/com/alibaba/nacos/api/naming/pojo/ServiceInfo.java +++ b/api/src/main/java/com/alibaba/nacos/api/naming/pojo/ServiceInfo.java @@ -77,7 +77,7 @@ public class ServiceInfo { } /** - * There is only one form of the key:groupName@@name@clusters. This constuctor 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(String key) { @@ -96,7 +96,7 @@ public class ServiceInfo { this.name = keys[serviceNameIndex]; } else { //defensive programming - throw new IllegalArgumentException("Cann't parse out 'groupName',but it must not be null!"); + throw new IllegalArgumentException("Can't parse out 'groupName',but it must not be null!"); } }