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

albumenj 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 002a6a1b3e 1.The word "shutdown" is a noun. The verb is spelled with a 
space. (#13855)
002a6a1b3e is described below

commit 002a6a1b3e3a7533fedd2bc2d3e72920d96f47e5
Author: Tritone <[email protected]>
AuthorDate: Fri Mar 8 10:11:43 2024 +0800

    1.The word "shutdown" is a noun. The verb is spelled with a space. (#13855)
---
 .../apache/dubbo/common/threadpool/support/AbortPolicyWithReport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/AbortPolicyWithReport.java
 
b/dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/AbortPolicyWithReport.java
index 1f2e82e77e..d65211eff9 100644
--- 
a/dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/AbortPolicyWithReport.java
+++ 
b/dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/AbortPolicyWithReport.java
@@ -119,7 +119,7 @@ public class AbortPolicyWithReport extends 
ThreadPoolExecutor.AbortPolicy {
         // 0-1 - Thread pool is EXHAUSTED!
         logger.warn(COMMON_THREAD_POOL_EXHAUSTED, "too much client requesting 
provider", "", msg);
 
-        if (Boolean.parseBoolean(url.getParameter(DUMP_ENABLE, "true"))) {
+        if (Boolean.parseBoolean(url.getParameter(DUMP_ENABLE, 
Boolean.TRUE.toString()))) {
             dumpJStack();
         }
 
@@ -190,7 +190,7 @@ public class AbortPolicyWithReport extends 
ThreadPoolExecutor.AbortPolicy {
             });
         } finally {
             guard.release();
-            // must shutdown thread pool ,if not will lead to OOM
+            // must shut down thread pool ,if not will lead to OOM
             if (pool != null) {
                 pool.shutdown();
             }

Reply via email to