The toString() method should have @Override and should use a StringBuilder instead of a StringBuffer.
hi, Daniel, thanks for filling this form. I would like to try this issue, so I assigned it to me.
This message was automatically generated.
The patch doesn't compile, because the annotation is actually @Override. My bad.
Daniel Templeton, the patch is updated again, thanks for your reminder.
Looks good to me. +1. Daniel Templeton do you have anything else to add? Thanks!
Nope, +1 for me.
Thanks for the patch, weiyuan. Committed to trunk and branch-2.
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12285 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12285/)
YARN-6780. ResourceWeights.toString() cleanup (Contributed by weiyuan (templedf: rev d4417dae4f38b58d41517a0263484da73ed41b75)