提交 49dd6500 编写于 作者: K kohsuke

added a note for myself.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1570 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8a0032c9
......@@ -562,6 +562,7 @@ public abstract class Job<JobT extends Job<JobT,RunT>, RunT extends Run<JobT,Run
}
public Color getColor() {
// TODO: consider gradation. See http://www.javadrive.jp/java2d/shape/index9.html
Result r = run.getResult();
if(r ==Result.FAILURE || r== Result.ABORTED)
return ColorPalette.RED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册