INT-1451, more refactoring
This commit is contained in:
@@ -172,8 +172,8 @@ public abstract class AbstractPollingEndpoint extends AbstractEndpoint implement
|
||||
int count = 0;
|
||||
while (maxMessagesPerPoll <= 0 || count < maxMessagesPerPoll) {
|
||||
try {
|
||||
boolean b = pollingTask.call();
|
||||
if (!b){
|
||||
boolean computed = pollingTask.call();
|
||||
if (!computed){
|
||||
break;
|
||||
}
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user