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.
This commit is contained in:
publicize-y 2024-02-27 09:24:02 +08:00 committed by GitHub
parent 7f4c7f8297
commit a275356c10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View File

@ -116,7 +116,7 @@
* [#175] Support deregistering instance automatically. * [#175] Support deregistering instance automatically.
* [#176] Naming client query instance method should bypass local cache at client start. * [#176] Naming client query instance method should bypass local cache at client start.
* [#177] Console supports registering new empty service and delete empty service. * [#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. * [#193] Configure host domain name cause nacos server cluster is unavailable.
* [#209] Disable service and cluster level customization in client registerInstance method. * [#209] Disable service and cluster level customization in client registerInstance method.
* [#214] Please support Java 11. * [#214] Please support Java 11.

View File

@ -96,7 +96,7 @@ public class AddressServerGeneratorManager {
/** /**
* Generate response ips. * 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 * @return the result of response to client
*/ */
public String generateResponseIps(List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList) { public String generateResponseIps(List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList) {
@ -113,7 +113,7 @@ public class AddressServerGeneratorManager {
/** /**
* Generate nacos service name. * Generate nacos service name.
* *
* @param rawServiceName the raw service name will not contains the {@link Constants#DEFAULT_GROUP}. * @param rawServiceName the raw service name will not contain the {@link Constants#DEFAULT_GROUP}.
* @return the nacos service name * @return the nacos service name
*/ */
public String generateNacosServiceName(String rawServiceName) { public String generateNacosServiceName(String rawServiceName) {

View File

@ -33,7 +33,7 @@ import java.util.List;
public interface NamingService { public interface NamingService {
/** /**
* register a instance to service. * register an instance to service.
* *
* @param serviceName name of service * @param serviceName name of service
* @param ip instance ip * @param ip instance ip
@ -43,7 +43,7 @@ public interface NamingService {
void registerInstance(String serviceName, String ip, int port) throws NacosException; void registerInstance(String serviceName, String ip, int port) throws NacosException;
/** /**
* register a instance to service. * register an instance to service.
* *
* @param serviceName name of service * @param serviceName name of service
* @param groupName group of service * @param groupName group of service
@ -54,7 +54,7 @@ public interface NamingService {
void registerInstance(String serviceName, String groupName, String ip, int port) throws NacosException; void registerInstance(String serviceName, String groupName, String ip, int port) throws NacosException;
/** /**
* register a instance to service with specified cluster name. * register an instance to service with specified cluster name.
* *
* @param serviceName name of service * @param serviceName name of service
* @param ip instance ip * @param ip instance ip
@ -65,7 +65,7 @@ public interface NamingService {
void registerInstance(String serviceName, String ip, int port, String clusterName) throws NacosException; void registerInstance(String serviceName, String ip, int port, String clusterName) throws NacosException;
/** /**
* register a instance to service with specified cluster name. * register an instance to service with specified cluster name.
* *
* @param serviceName name of service * @param serviceName name of service
* @param groupName group of service * @param groupName group of service
@ -78,7 +78,7 @@ public interface NamingService {
throws NacosException; throws NacosException;
/** /**
* register a instance to service with specified instance properties. * register an instance to service with specified instance properties.
* *
* @param serviceName name of service * @param serviceName name of service
* @param instance instance to register * @param instance instance to register
@ -87,7 +87,7 @@ public interface NamingService {
void registerInstance(String serviceName, Instance instance) throws NacosException; void registerInstance(String serviceName, Instance instance) throws NacosException;
/** /**
* register a instance to service with specified instance properties. * register an instance to service with specified instance properties.
* *
* @param serviceName name of service * @param serviceName name of service
* @param groupName group of service * @param groupName group of service

View File

@ -69,7 +69,7 @@ public class HealthCheckerFactory {
} }
/** /**
* Deserialize and create a instance of health checker. * Deserialize and create an instance of health checker.
* *
* @param jsonString json string of health checker * @param jsonString json string of health checker
* @return new instance * @return new instance
@ -83,7 +83,7 @@ public class HealthCheckerFactory {
} }
/** /**
* Serialize a instance of health checker to json. * Serialize an instance of health checker to json.
* *
* @param healthChecker health checker instance * @param healthChecker health checker instance
* @return son string after serializing * @return son string after serializing

View File

@ -34,7 +34,7 @@ import java.util.List;
public interface NamingClientProxy extends Closeable { public interface NamingClientProxy extends Closeable {
/** /**
* Register a instance to service with specified instance properties. * Register an instance to service with specified instance properties.
* *
* @param serviceName name of service * @param serviceName name of service
* @param groupName group of service * @param groupName group of service