提交 a301c005 编写于 作者: K kohsuke

prepare for subclassing.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2615 71c3de6d-444a-0410-be80-ed276b4c234a
上级 7fab8293
......@@ -158,7 +158,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
* When a build is {@link #isBuilding() in progress}, this method
* may return null or a temporary intermediate result.
*/
public final Result getResult() {
public Result getResult() {
return result;
}
......@@ -311,7 +311,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
public BallColor getIconColor() {
if(!isBuilding()) {
// already built
return result.color;
return getResult().color;
}
// a new build is in progress
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册