Skip to content

Commit

Permalink
Merge pull request #407 from xiaoqing-yuanfang/dev
Browse files Browse the repository at this point in the history
reduce duplication of getting referer
  • Loading branch information
rayzhang0603 authored Apr 10, 2017
2 parents dc3532a + 42f7b14 commit 8f71849
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void doSelectToHolder(Request request, List<Referer<T>> refersHolder)
for (int i = 0; i < referers.size(); i++) {
Referer<T> referer = referers.get((i + idx) % referers.size());
if (referer.isAvailable()) {
refersHolder.add(referers.get((i + idx) % referers.size()));
refersHolder.add(referer);
}
}
}
Expand Down

0 comments on commit 8f71849

Please sign in to comment.