Skip to content

Commit a79c66a

Browse files
committed
Merge branch 'master' into develop
2 parents 43730b7 + c0b8735 commit a79c66a

File tree

2 files changed

+105
-2
lines changed

2 files changed

+105
-2
lines changed

1

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# This is a combination of 3 commits.
2+
# The first commit's message is:
3+
remove spaces before and after the properties
4+
5+
# This is the 2nd commit message:
6+
7+
remove spaces before and after the properties
8+
9+
remove spaces before and after the properties
10+
11+
remove spaces before and after the properties
12+
13+
remove spaces before and after the properties
14+
15+
Remove spaces before and after the properties
16+
17+
Remove spaces before and after the properties
18+
19+
Remove spaces before and after the properties
20+
21+
Remove spaces before and after the properties
22+
23+
Remove the code that is not useful in the loop
24+
25+
Remove the code that is not useful in the loop
26+
27+
Remove the code that is not useful in the loop
28+
29+
Remove the code that is not useful in the loop
30+
31+
Remove the code that is not useful in the loop
32+
33+
Remove spaces before and after the properties
34+
35+
Remove spaces before and after the properties
36+
37+
Remove the code that is not useful in the loop
38+
39+
Remove the code that is not useful in the loop
40+
41+
Remove the code that is not useful in the loop
42+
43+
Remove the code that is not useful in the loop
44+
45+
Remove the code that is not useful in the loop
46+
47+
remove spaces before and after the properties
48+
49+
remove spaces before and after the properties
50+
51+
Remove spaces before and after the properties
52+
53+
Remove spaces before and after the properties
54+
55+
Remove spaces before and after the properties
56+
57+
Remove spaces before and after the properties
58+
59+
Remove the code that is not useful in the loop
60+
61+
Remove the code that is not useful in the loop
62+
63+
Remove the code that is not useful in the loop
64+
65+
Remove the code that is not useful in the loop
66+
67+
Remove the code that is not useful in the loop
68+
69+
Remove spaces before and after the properties
70+
71+
Remove spaces before and after the properties
72+
73+
Remove the code that is not useful in the loop
74+
75+
Remove the code that is not useful in the loop
76+
77+
Remove the code that is not useful in the loop
78+
79+
Remove the code that is not useful in the loop
80+
81+
Remove the code that is not useful in the loop
82+
83+
# This is the 3rd commit message:
84+
85+
remove spaces before and after the properties
86+
87+
# Please enter the commit message for your changes. Lines starting
88+
# with '#' will be ignored, and an empty message aborts the commit.
89+
#
90+
# Date: Wed May 17 16:11:07 2017 +0800
91+
#
92+
# interactive rebase in progress; onto a2894b6
93+
# Last commands done (3 commands done):
94+
# squash 76b35ab remove spaces before and after the properties
95+
# squash 92f83bc remove spaces before and after the properties
96+
# Next commands to do (12 remaining commands):
97+
# squash d142037 remove spaces before and after the properties
98+
# squash 9df0fcb remove spaces before and after the properties
99+
# You are currently rebasing branch 'Branch_0616' on 'a2894b6'.
100+
#
101+
# Changes to be committed:
102+
# modified: client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
103+
# modified: common/src/main/java/org/apache/rocketmq/common/MixAll.java
104+
# new file: "\357\200\272"
105+
#

client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,15 +975,13 @@ public FindBrokerResult findBrokerAddressInAdmin(final String brokerName) {
975975

976976
HashMap<Long/* brokerId */, String/* address */> map = this.brokerAddrTable.get(brokerName);
977977
if (map != null && !map.isEmpty()) {
978-
FOR_SEG:
979978
for (Map.Entry<Long, String> entry : map.entrySet()) {
980979
Long id = entry.getKey();
981980
brokerAddr = entry.getValue();
982981
if (brokerAddr != null) {
983982
found = true;
984983
if (MixAll.MASTER_ID == id) {
985984
slave = false;
986-
break FOR_SEG;
987985
} else {
988986
slave = true;
989987
}

0 commit comments

Comments
 (0)