int pending = batcher.count() + pendingSequences.count();
changeTracker.setPaused(pending >= MAX_PENDING_DOCS);
}
@Override
public String toString() {
<BUG>if (str == null) {
String maskedRemote = "unknown";</BUG>
if (remote != null)
<BUG>remote.toExternalForm();
</BUG>
maskedRemote = maskedRemote.replaceAll("://.*:.*@", "://---:---@");

int pending = batcher.count() + pendingSequences.count();
changeTracker.setPaused(pending >= MAX_PENDING_DOCS);
}
@Override
public String toString() {
if (str == null || str.contains("unknown")) {
String maskedRemote = "unknown";
if (remote != null)
maskedRemote = remote.toExternalForm();
maskedRemote = maskedRemote.replaceAll("://.*:.*@", "://---:---@");
