Skip to content

Commit

Permalink
Merge 3615adf into 0c5e53d
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyiminghappy committed Jun 17, 2017
2 parents 0c5e53d + 3615adf commit a988c31
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 2 deletions.
105 changes: 105 additions & 0 deletions 1
Original file line number Diff line number Diff line change
@@ -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"
#
Original file line number Diff line number Diff line change
Expand Up @@ -971,15 +971,13 @@ public FindBrokerResult findBrokerAddressInAdmin(final String brokerName) {

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();
if (brokerAddr != null) {
found = true;
if (MixAll.MASTER_ID == id) {
slave = false;
break FOR_SEG;
} else {
slave = true;
}
Expand Down

0 comments on commit a988c31

Please sign in to comment.