From a275356c10fcb8476f3bcf9dd8fff04976cd9ca9 Mon Sep 17 00:00:00 2001 From: publicize-y <73219873+publicize-y@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:24:02 +0800 Subject: [PATCH] fix:Use the article an before instance (#11759) * fix:Use the article an before instance * fix:The modal verb 'will' requires the verb's base form. --- CHANGELOG.md | 2 +- .../component/AddressServerGeneratorManager.java | 4 ++-- .../com/alibaba/nacos/api/naming/NamingService.java | 12 ++++++------ .../pojo/healthcheck/HealthCheckerFactory.java | 4 ++-- .../client/naming/remote/NamingClientProxy.java | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97273c48de0..e3c4e2a3383 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -116,7 +116,7 @@ * [#175] Support deregistering instance automatically. * [#176] Naming client query instance method should bypass local cache at client start. * [#177] Console supports registering new empty service and delete empty service. -* [#181] NPE when adding a instance if no leader in the raft cluster. +* [#181] NPE when adding an instance if no leader in the raft cluster. * [#193] Configure host domain name cause nacos server cluster is unavailable. * [#209] Disable service and cluster level customization in client registerInstance method. * [#214] Please support Java 11. diff --git a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java index dc2a5a52a36..e0a1b81137a 100644 --- a/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java +++ b/address/src/main/java/com/alibaba/nacos/address/component/AddressServerGeneratorManager.java @@ -96,7 +96,7 @@ private String[] generateIpAndPort(String ip) { /** * Generate response ips. * - * @param instanceList a instance set will generate string response to client. + * @param instanceList an instance set will generate string response to client. * @return the result of response to client */ public String generateResponseIps(List instanceList) { @@ -113,7 +113,7 @@ public String generateResponseIps(List