Skip to content

Commit

Permalink
YARN-11536. Fix CheckStyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
slfan1989 committed Aug 4, 2023
1 parent e367603 commit c957ed6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ protected static boolean isNumeric(String value) {
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("FederationQueueWeight{");
builder.append("Queue:" + getQueue() + ", ");
builder.append("RouterWeight:" + getRouterWeight() + ", ");
builder.append("AmrmWeight:" + getAmrmWeight() + ", ");
builder.append("PolicyManagerClassName:" + getPolicyManagerClassName());
builder.append("}");
builder.append("FederationQueueWeight { ");
builder.append("Queue: ").append(getQueue()).append(", ");
builder.append("RouterWeight: ").append(getRouterWeight()).append(", ");
builder.append("AmrmWeight: ").append(getAmrmWeight()).append(", ");
builder.append("PolicyManagerClassName: ").append(getPolicyManagerClassName());
builder.append(" }");
return builder.toString();
}
}

0 comments on commit c957ed6

Please sign in to comment.