Skip to content

Commit

Permalink
fix typos (#13858)
Browse files Browse the repository at this point in the history
Co-authored-by: Cyrus <[email protected]>
  • Loading branch information
hyhnet and hyhnet authored Mar 10, 2024
1 parent 2f6b4c0 commit d50adb7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public Boolean getBackground() {

/**
* Whether start module in background.
* If start in backgound, do not await finish on Spring ContextRefreshedEvent.
* If start in background, do not await finish on Spring ContextRefreshedEvent.
*
* @see org.apache.dubbo.config.spring.context.DubboDeployApplicationListener
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
containers.add(LOADER.getExtension(args[i]));
}
logger.info("Use container type(" + Arrays.toString(args) + ") to run dubbo serivce.");
logger.info("Use container type(" + Arrays.toString(args) + ") to run dubbo service.");

if ("true".equals(System.getProperty(SHUTDOWN_HOOK_KEY))) {
Runtime.getRuntime().addShutdownHook(new Thread("dubbo-container-shutdown-hook") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import static org.apache.dubbo.metadata.annotation.processing.util.TypeUtils.isPrimitiveType;

/**
* {@link TypeBuilder} for Java {@link PrimitiveType primitve type}
* {@link TypeBuilder} for Java {@link PrimitiveType primitive type}
*
* @since 2.7.6
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ void test_Encode_Response() throws IOException {
Assertions.assertEquals(response.getStatus(), obj.getStatus());
Assertions.assertEquals(response.isHeartbeat(), obj.isHeartbeat());
Assertions.assertEquals(person, obj.getResult());
// encode response verson ??
// encode response version ??
// Assertions.assertEquals(response.getProtocolVersion(), obj.getVersion());

future.cancel();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import static org.springframework.util.ClassUtils.isPrimitiveOrWrapper;

/**
* Abstract Dubbo Meatadata
* Abstract Dubbo Metadata
*
* @since 2.7.0
*/
Expand Down

0 comments on commit d50adb7

Please sign in to comment.