diff --git a/core/src/main/java/kafka/autobalancer/model/BrokerUpdater.java b/core/src/main/java/kafka/autobalancer/model/BrokerUpdater.java index 630c847cad..39a419e88d 100644 --- a/core/src/main/java/kafka/autobalancer/model/BrokerUpdater.java +++ b/core/src/main/java/kafka/autobalancer/model/BrokerUpdater.java @@ -166,7 +166,7 @@ public int hashCode() { public String shortString() { return "Broker{" + "brokerId=" + brokerId + - "outOfDate=" + metricsOutOfDate + + ", outOfDate=" + metricsOutOfDate + ", slow=" + isSlowBroker + ", " + timeString() + ", " + loadString() + @@ -184,7 +184,7 @@ public Broker copy() { public String toString() { return "Broker{" + "brokerId=" + brokerId + - "outOfDate=" + metricsOutOfDate + + ", outOfDate=" + metricsOutOfDate + ", slow=" + isSlowBroker + ", " + super.toString() + "}"; diff --git a/core/src/main/java/kafka/autobalancer/model/TopicPartitionReplicaUpdater.java b/core/src/main/java/kafka/autobalancer/model/TopicPartitionReplicaUpdater.java index 462ac12f3f..231e51962a 100644 --- a/core/src/main/java/kafka/autobalancer/model/TopicPartitionReplicaUpdater.java +++ b/core/src/main/java/kafka/autobalancer/model/TopicPartitionReplicaUpdater.java @@ -109,7 +109,7 @@ public int hashCode() { public String shortString() { return "TopicPartitionReplica{" + "tp=" + tp + - "outOfDate=" + metricsOutOfDate + + ", outOfDate=" + metricsOutOfDate + ", " + timeString() + ", " + loadString() + "}"; @@ -126,7 +126,7 @@ public AbstractInstance copy() { public String toString() { return "TopicPartitionReplica{" + "tp=" + tp + - "outOfDate=" + metricsOutOfDate + + ", outOfDate=" + metricsOutOfDate + ", " + super.toString() + "}"; }