提交 e22ff9e9 编写于 作者: J Jesse Glick

More useful Dependency.toString.

上级 e908219a
...@@ -452,6 +452,10 @@ public class DependencyGraph implements Comparator<AbstractProject> { ...@@ -452,6 +452,10 @@ public class DependencyGraph implements Comparator<AbstractProject> {
hash = 23 * hash + this.downstream.hashCode(); hash = 23 * hash + this.downstream.hashCode();
return hash; return hash;
} }
@Override public String toString() {
return super.toString() + "[" + upstream + "->" + downstream + "]";
}
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册