You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by vo...@apache.org on 2022/01/06 01:51:36 UTC

[rocketmq] branch develop updated: [ISSUE #3685] Fix param spelling error (#3678)

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

vongosling pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 43009b7  [ISSUE #3685] Fix param spelling error (#3678)
43009b7 is described below

commit 43009b76ac79643ff222af6c13dfe24a593dfa43
Author: Kobold <28...@qq.com>
AuthorDate: Thu Jan 6 09:51:20 2022 +0800

    [ISSUE #3685] Fix param spelling error (#3678)
    
    * Update .travis.yml
    
    Depracated MODERATE noisy mail for dev@rocketmq.apache.org. Still Failing: apache/rocketmq#5670 (5.0.0-alpha-static-topic - 5ebc327) @dongeforever
    
    * fix class[RemotingHelper]  method[exceptionSimpleDesc] var[element] spelling error
---
 .travis.yml                                                           | 2 ++
 .../main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 669d9e9..c55d929 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,10 @@ notifications:
   email:
     recipients:
       - dev@rocketmq.apache.org
+    if: branch = develop OR branch = master
   on_success: change
   on_failure: always
+  
 
 language: java
 
diff --git a/remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java b/remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java
index 34efc4e..39bbb0d 100644
--- a/remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java
+++ b/remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java
@@ -47,9 +47,9 @@ public class RemotingHelper {
 
             StackTraceElement[] stackTrace = e.getStackTrace();
             if (stackTrace != null && stackTrace.length > 0) {
-                StackTraceElement elment = stackTrace[0];
+                StackTraceElement element = stackTrace[0];
                 sb.append(", ");
-                sb.append(elment.toString());
+                sb.append(element.toString());
             }
         }