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

oxsean pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new c833069d53 Fix (#14671)
c833069d53 is described below

commit c833069d53f2afc3f7bd8ce26a79624cfec12d45
Author: co63oc <[email protected]>
AuthorDate: Fri Sep 13 13:43:32 2024 +0800

    Fix (#14671)
---
 .../org/apache/dubbo/remoting/telnet/support/TelnetUtils.java  |  8 ++++----
 .../{ChanelHandlerTest.java => ChannelHandlerTest.java}        | 10 +++++-----
 .../java/org/apache/dubbo/remoting/PerformanceClientTest.java  |  4 ++--
 .../apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java  |  2 +-
 .../apache/dubbo/rpc/protocol/injvm/InjvmClassLoaderTest.java  |  2 +-
 .../dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto    |  4 ++--
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git 
a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java
 
b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java
index 8a78d599ff..6ee82de349 100644
--- 
a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java
+++ 
b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java
@@ -120,8 +120,8 @@ public class TelnetUtils {
             for (int j = 0; j < widths.length; j++) {
                 String cell = row.get(j);
                 rowbuf.append(' ');
-                int remaing = cell.length();
-                while (remaing > 0) {
+                int remaining = cell.length();
+                while (remaining > 0) {
 
                     if (rowbuf.length() >= totalWidth) {
                         buf.append(rowbuf.toString());
@@ -132,8 +132,8 @@ public class TelnetUtils {
                         //                        }
                     }
 
-                    rowbuf.append(cell, cell.length() - remaing, cell.length() 
- remaing + 1);
-                    remaing--;
+                    rowbuf.append(cell, cell.length() - remaining, 
cell.length() - remaining + 1);
+                    remaining--;
                 }
                 int pad = widths[j] - cell.length();
                 if (pad > 0) {
diff --git 
a/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChanelHandlerTest.java
 
b/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChannelHandlerTest.java
similarity index 95%
rename from 
dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChanelHandlerTest.java
rename to 
dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChannelHandlerTest.java
index 8c3bde9838..361b30767d 100644
--- 
a/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChanelHandlerTest.java
+++ 
b/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/ChannelHandlerTest.java
@@ -31,13 +31,13 @@ import static 
org.apache.dubbo.common.constants.CommonConstants.TIMEOUT_KEY;
 import static 
org.apache.dubbo.common.constants.LoggerCodeConstants.CONFIG_UNDEFINED_ARGUMENT;
 
 /**
- * ChanelHandlerTest
+ * ChannelHandlerTest
  * <p>
  * mvn clean test -Dtest=*PerformanceClientTest -Dserver=10.20.153.187:9911
  */
-class ChanelHandlerTest {
+class ChannelHandlerTest {
 
-    private static final ErrorTypeAwareLogger logger = 
LoggerFactory.getErrorTypeAwareLogger(ChanelHandlerTest.class);
+    private static final ErrorTypeAwareLogger logger = 
LoggerFactory.getErrorTypeAwareLogger(ChannelHandlerTest.class);
 
     public static ExchangeClient initClient(String url) {
         // Create client and build connection
@@ -113,12 +113,12 @@ class ChanelHandlerTest {
 
         @Override
         public void connected(Channel channel) throws RemotingException {
-            System.out.println("connected event,chanel;" + channel);
+            System.out.println("connected event,channel;" + channel);
         }
 
         @Override
         public void disconnected(Channel channel) throws RemotingException {
-            System.out.println("disconnected event,chanel;" + channel);
+            System.out.println("disconnected event,channel;" + channel);
             initClient(url);
         }
 
diff --git 
a/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/PerformanceClientTest.java
 
b/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/PerformanceClientTest.java
index 49b6bb763d..16c8827f8e 100644
--- 
a/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/PerformanceClientTest.java
+++ 
b/dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/PerformanceClientTest.java
@@ -237,12 +237,12 @@ class PerformanceClientTest {
 
         @Override
         public void connected(Channel channel) throws RemotingException {
-            System.out.println("connected event,chanel;" + channel);
+            System.out.println("connected event,channel;" + channel);
         }
 
         @Override
         public void disconnected(Channel channel) throws RemotingException {
-            System.out.println("disconnected event,chanel;" + channel);
+            System.out.println("disconnected event,channel;" + channel);
         }
     }
 }
diff --git 
a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
 
b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
index 6750751e6a..a0af3b88dd 100644
--- 
a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
+++ 
b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
@@ -318,7 +318,7 @@ public class CallbackServiceCodec {
             // client side error
             throw new IllegalStateException("interface " + interfaceClass
                     + " `s callback instances num exceed providers limit :" + 
limit + " ,current num: " + (count + 1)
-                    + ". The new callback service will not work !!! you can 
cancle the callback service which exported before. channel :"
+                    + ". The new callback service will not work !!! you can 
cancel the callback service which exported before. channel :"
                     + channel);
         } else {
             return false;
diff --git 
a/dubbo-rpc/dubbo-rpc-injvm/src/test/java/org/apache/dubbo/rpc/protocol/injvm/InjvmClassLoaderTest.java
 
b/dubbo-rpc/dubbo-rpc-injvm/src/test/java/org/apache/dubbo/rpc/protocol/injvm/InjvmClassLoaderTest.java
index 45534ff5ba..c2671543e7 100644
--- 
a/dubbo-rpc/dubbo-rpc-injvm/src/test/java/org/apache/dubbo/rpc/protocol/injvm/InjvmClassLoaderTest.java
+++ 
b/dubbo-rpc/dubbo-rpc-injvm/src/test/java/org/apache/dubbo/rpc/protocol/injvm/InjvmClassLoaderTest.java
@@ -133,7 +133,7 @@ class InjvmClassLoaderTest {
         Assertions.assertEquals(resultClazzCustom3, result1.getClass());
         Assertions.assertNotEquals(classLoader2, 
result1.getClass().getClassLoader());
 
-        // invoke reqeust param should load from classLoader1 ( provider side 
classLoader )
+        // invoke request param should load from classLoader1 ( provider side 
classLoader )
         Assertions.assertEquals(
                 classLoader1, 
innerRequestReference.get().getClass().getClassLoader());
 
diff --git a/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto 
b/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto
index 8c5e06fe14..a3984b55c2 100644
--- a/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto
+++ b/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto
@@ -80,7 +80,7 @@ message ExtensionRequest {
 message ServerReflectionResponse {
   string valid_host = 1;
   ServerReflectionRequest original_request = 2;
-  // The server set one of the following fields accroding to the 
message_request
+  // The server set one of the following fields according to the 
message_request
   // in the request.
   oneof message_response {
     // This message is used to answer file_by_filename, file_containing_symbol,
@@ -91,7 +91,7 @@ message ServerReflectionResponse {
     // that were previously sent in response to earlier requests in the stream.
     FileDescriptorResponse file_descriptor_response = 4;
 
-    // This message is used to answer all_extension_numbers_of_type requst.
+    // This message is used to answer all_extension_numbers_of_type request.
     ExtensionNumberResponse all_extension_numbers_response = 5;
 
     // This message is used to answer list_services request.

Reply via email to