You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/09/23 11:14:18 UTC

[rocketmq-clients] branch master updated: Fix typo (#245)

This is an automated email from the ASF dual-hosted git repository.

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 847aca7  Fix typo (#245)
847aca7 is described below

commit 847aca76bcd3b06b49458b529ede2ba6ccdc02a1
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Fri Sep 23 19:14:12 2022 +0800

    Fix typo (#245)
---
 .../org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java b/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java
index bf0f657..5767bea 100644
--- a/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java
+++ b/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/ClientConfigurationBuilder.java
@@ -38,7 +38,7 @@ public class ClientConfigurationBuilder {
      * @return the client configuration builder instance.
      */
     public ClientConfigurationBuilder setEndpoints(String endpoints) {
-        checkNotNull(endpoints, "endpoints should not be not null");
+        checkNotNull(endpoints, "endpoints should not be null");
         this.endpoints = endpoints;
         return this;
     }
@@ -66,7 +66,7 @@ public class ClientConfigurationBuilder {
      * @return the client configuration builder instance.
      */
     public ClientConfigurationBuilder setRequestTimeout(Duration requestTimeout) {
-        this.requestTimeout = checkNotNull(requestTimeout, "requestTimeout should not be not null");
+        this.requestTimeout = checkNotNull(requestTimeout, "requestTimeout should not be null");
         return this;
     }