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

hezhangjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new 630931560 fix typo https://servicecomb.atlassian.net/browse/JAV-609 
(#4972)
630931560 is described below

commit 630931560ae6802294c1085d30ef1d8b1589c0aa
Author: Caimo <[email protected]>
AuthorDate: Fri Oct 10 08:15:20 2025 +0800

    fix typo https://servicecomb.atlassian.net/browse/JAV-609 (#4972)
    
    Co-authored-by: QIURC <[email protected]>
---
 ...roducersCutomized.java => RestProducersCustomized.java} |  2 +-
 .../org/apache/servicecomb/config/etcd/EtcdClient.java     | 14 +++++++-------
 .../foundation/protobuf/internal/schema/SchemaManager.java |  8 ++++----
 .../foundation/vertx/AddressResolverConfig.java            |  2 +-
 .../apache/servicecomb/foundation/vertx/VertxUtils.java    |  2 +-
 .../apache/servicecomb/foundation/vertx/TestStream.java    |  2 +-
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git 
a/demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCutomized.java
 
b/demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCustomized.java
similarity index 94%
rename from 
demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCutomized.java
rename to 
demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCustomized.java
index 445c6a35b..a38585418 100644
--- 
a/demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCutomized.java
+++ 
b/demo/demo-springmvc/springmvc-server/src/main/java/org/apache/servicecomb/demo/springmvc/server/RestProducersCustomized.java
@@ -24,5 +24,5 @@ import org.springframework.stereotype.Component;
 @Component
 @Primary
 // This example shows user's how to customize RestProducers by @Primary 
annotation
-public class RestProducersCutomized extends RestProducers {
+public class RestProducersCustomized extends RestProducers {
 }
diff --git 
a/dynamic-config/config-etcd/src/main/java/org/apache/servicecomb/config/etcd/EtcdClient.java
 
b/dynamic-config/config-etcd/src/main/java/org/apache/servicecomb/config/etcd/EtcdClient.java
index 80898ab51..9a7743add 100644
--- 
a/dynamic-config/config-etcd/src/main/java/org/apache/servicecomb/config/etcd/EtcdClient.java
+++ 
b/dynamic-config/config-etcd/src/main/java/org/apache/servicecomb/config/etcd/EtcdClient.java
@@ -47,7 +47,7 @@ import io.etcd.jetcd.options.WatchOption;
 
 public class EtcdClient {
 
-  public class GetDataRunable implements Runnable {
+  public class GetDataRunnable implements Runnable {
 
     private Map<String, Object> dataMap;
 
@@ -55,7 +55,7 @@ public class EtcdClient {
 
     private String path;
 
-    public GetDataRunable(Map<String, Object> dataMap, EtcdClient etcdClient, 
String path) {
+    public GetDataRunnable(Map<String, Object> dataMap, EtcdClient etcdClient, 
String path) {
       this.dataMap = dataMap;
       this.etcdClient = etcdClient;
       this.path = path;
@@ -153,7 +153,7 @@ public class EtcdClient {
     ByteSequence prefixByteSeq = ByteSequence.from(path, 
StandardCharsets.UTF_8);
     Watch watchClient = client.getWatchClient();
     watchClient.watch(prefixByteSeq, 
WatchOption.builder().withPrefix(prefixByteSeq).build(),
-        resp -> new Thread(new GetDataRunable(tagData, this, path)).start());
+        resp -> new Thread(new GetDataRunnable(tagData, this, path)).start());
     this.tagData = parseData(path);
   }
 
@@ -166,7 +166,7 @@ public class EtcdClient {
     ByteSequence prefixByteSeq = ByteSequence.from(path, 
StandardCharsets.UTF_8);
     Watch watchClient = client.getWatchClient();
     watchClient.watch(prefixByteSeq, 
WatchOption.builder().withPrefix(prefixByteSeq).build(),
-        resp -> new Thread(new GetDataRunable(versionData, this, 
path)).start());
+        resp -> new Thread(new GetDataRunnable(versionData, this, 
path)).start());
     this.versionData = parseData(path);
   }
 
@@ -178,7 +178,7 @@ public class EtcdClient {
     ByteSequence prefixByteSeq = ByteSequence.from(path, 
StandardCharsets.UTF_8);
     Watch watchClient = client.getWatchClient();
     watchClient.watch(prefixByteSeq, 
WatchOption.builder().withPrefix(prefixByteSeq).build(),
-        resp -> new Thread(new GetDataRunable(serviceData, this, 
path)).start());
+        resp -> new Thread(new GetDataRunnable(serviceData, this, 
path)).start());
     this.serviceData = parseData(path);
   }
 
@@ -188,7 +188,7 @@ public class EtcdClient {
     ByteSequence prefixByteSeq = ByteSequence.from(path, 
StandardCharsets.UTF_8);
     Watch watchClient = client.getWatchClient();
     watchClient.watch(prefixByteSeq, 
WatchOption.builder().withPrefix(prefixByteSeq).build(),
-        resp -> new Thread(new GetDataRunable(applicationData, this, 
path)).start());
+        resp -> new Thread(new GetDataRunnable(applicationData, this, 
path)).start());
     this.applicationData = parseData(path);
   }
 
@@ -198,7 +198,7 @@ public class EtcdClient {
     ByteSequence prefixByteSeq = ByteSequence.from(path, 
StandardCharsets.UTF_8);
     Watch watchClient = client.getWatchClient();
     watchClient.watch(prefixByteSeq, 
WatchOption.builder().withPrefix(prefixByteSeq).build(),
-        resp -> new Thread(new GetDataRunable(environmentData, this, 
path)).start());
+        resp -> new Thread(new GetDataRunnable(environmentData, this, 
path)).start());
     this.environmentData = parseData(path);
   }
 
diff --git 
a/foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/SchemaManager.java
 
b/foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/SchemaManager.java
index 331c6b632..5d583954c 100644
--- 
a/foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/SchemaManager.java
+++ 
b/foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/SchemaManager.java
@@ -166,14 +166,14 @@ public abstract class SchemaManager {
     return FieldMapEx.createFieldMap(fieldSchemas);
   }
 
-  private JavaType getParameterType(Map<String, Type> types, String 
perameterName) {
+  private JavaType getParameterType(Map<String, Type> types, String 
parameterName) {
 
-    if (types.get(perameterName) != null) {
-      return 
TypeFactory.defaultInstance().constructType(types.get(perameterName));
+    if (types.get(parameterName) != null) {
+      return 
TypeFactory.defaultInstance().constructType(types.get(parameterName));
     }
 
     throw new IllegalArgumentException(
-        String.format("not found type info for parameter name [%s]", 
perameterName));
+        String.format("not found type info for parameter name [%s]", 
parameterName));
   }
 
   public <T> FieldSchema<T> createSchemaField(Field protoField, 
PropertyDescriptor propertyDescriptor) {
diff --git 
a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/AddressResolverConfig.java
 
b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/AddressResolverConfig.java
index 8b99960be..2d4ee3896 100644
--- 
a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/AddressResolverConfig.java
+++ 
b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/AddressResolverConfig.java
@@ -109,7 +109,7 @@ public class AddressResolverConfig {
     for (String key : keys) {
       Integer val = LegacyPropertyFactory.getProperty(key, Integer.class);
       if (val != null && val <= 0) {
-        LOGGER.warn("Address resover key:{}'s value:{} is not positive, please 
check!", key, val);
+        LOGGER.warn("Address resolver key:{}'s value:{} is not positive, 
please check!", key, val);
         continue;
       }
       if (val != null) {
diff --git 
a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/VertxUtils.java
 
b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/VertxUtils.java
index 97d295dcf..5eceac0b2 100644
--- 
a/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/VertxUtils.java
+++ 
b/foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/VertxUtils.java
@@ -94,7 +94,7 @@ public final class VertxUtils {
 
     CountDownLatch latch = new CountDownLatch(1);
     Future<String> future = vertx.deployVerticle(cls.getName(), options);
-    future.onComplete((succuss, failure) -> {
+    future.onComplete((success, failure) -> {
       result.put("code", failure == null);
 
       if (failure != null) {
diff --git 
a/foundations/foundation-vertx/src/test/java/org/apache/servicecomb/foundation/vertx/TestStream.java
 
b/foundations/foundation-vertx/src/test/java/org/apache/servicecomb/foundation/vertx/TestStream.java
index ea3a797da..af3e2078c 100644
--- 
a/foundations/foundation-vertx/src/test/java/org/apache/servicecomb/foundation/vertx/TestStream.java
+++ 
b/foundations/foundation-vertx/src/test/java/org/apache/servicecomb/foundation/vertx/TestStream.java
@@ -31,7 +31,7 @@ public class TestStream {
   @Test
   public void testBufferInputStream() {
     Buffer obuf = Buffer.buffer(DIRECT_BUFFER_SIZE);
-    obuf.appendBytes(("testss").getBytes());
+    obuf.appendBytes(("tests1").getBytes());
     @SuppressWarnings("resource")
     BufferInputStream oBufferInputStream = new BufferInputStream(obuf);
 

Reply via email to