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

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


The following commit(s) were added to refs/heads/master by this push:
     new c0b8735  [ROCKETMQ-226]Remove the code that is not useful in the loop 
(#121)
c0b8735 is described below

commit c0b8735a469aca851721a8fa04c3391d7b279752
Author: huangyiming <[email protected]>
AuthorDate: Wed Dec 13 19:46:42 2017 +0800

    [ROCKETMQ-226]Remove the code that is not useful in the loop (#121)
    
    * Remove spaces before and after the properties
    
    * Update MixAll.java
    
    Remove spaces before and after the properties
    
    * Remove spaces before and after the properties
    
    * remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove spaces before and after the properties
    
    Remove spaces before and after the properties
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    Remove the code that is not useful in the loop
    
    * Remove the code that is not useful in the loop
---
 1                                                  | 105 +++++++++++++++++++++
 .../client/impl/factory/MQClientInstance.java      |   2 -
 2 files changed, 105 insertions(+), 2 deletions(-)

diff --git a/1 b/1
new file mode 100644
index 0000000..5f9f277
--- /dev/null
+++ b/1
@@ -0,0 +1,105 @@
+# This is a combination of 3 commits.
+# The first commit's message is:
+remove spaces before and after the properties
+
+# This is the 2nd commit message:
+
+remove spaces before and after the properties
+
+remove spaces before and after the properties
+
+remove spaces before and after the properties
+
+remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+remove spaces before and after the properties
+
+remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove spaces before and after the properties
+
+Remove spaces before and after the properties
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+Remove the code that is not useful in the loop
+
+# This is the 3rd commit message:
+
+remove spaces before and after the properties
+
+# Please enter the commit message for your changes. Lines starting
+# with '#' will be ignored, and an empty message aborts the commit.
+#
+# Date:      Wed May 17 16:11:07 2017 +0800
+#
+# interactive rebase in progress; onto a2894b6
+# Last commands done (3 commands done):
+#    squash 76b35ab remove spaces before and after the properties
+#    squash 92f83bc remove spaces before and after the properties
+# Next commands to do (12 remaining commands):
+#    squash d142037 remove spaces before and after the properties
+#    squash 9df0fcb remove spaces before and after the properties
+# You are currently rebasing branch 'Branch_0616' on 'a2894b6'.
+#
+# Changes to be committed:
+#      modified:   
client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
+#      modified:   common/src/main/java/org/apache/rocketmq/common/MixAll.java
+#      new file:   "\357\200\272"
+#
diff --git 
a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
 
b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
index 31c2c3c..e0a422a 100644
--- 
a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
+++ 
b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
@@ -974,7 +974,6 @@ public class MQClientInstance {
 
         HashMap<Long/* brokerId */, String/* address */> map = 
this.brokerAddrTable.get(brokerName);
         if (map != null && !map.isEmpty()) {
-            FOR_SEG:
             for (Map.Entry<Long, String> entry : map.entrySet()) {
                 Long id = entry.getKey();
                 brokerAddr = entry.getValue();
@@ -982,7 +981,6 @@ public class MQClientInstance {
                     found = true;
                     if (MixAll.MASTER_ID == id) {
                         slave = false;
-                        break FOR_SEG;
                     } else {
                         slave = true;
                     }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to