提交 0aca5e5c 编写于 作者: O Olivier Lamy

restore backward comp with the old Hudson class

上级 46d658ec
......@@ -299,4 +299,18 @@ public class Hudson extends Jenkins {
static {
XSTREAM.alias("hudson",Hudson.class);
}
/**
* @deprecated only here for backward comp
*/
public static final class MasterComputer extends Jenkins.MasterComputer {
// no op
}
/**
* @deprecated only here for backward comp
*/
public static class CloudList extends Jenkins.CloudList {
// no op
}
}
......@@ -3297,8 +3297,8 @@ public class Jenkins extends AbstractCIBase implements ItemGroup<TopLevelItem>,
return getPrimaryView();
}
public static final class MasterComputer extends Computer {
private MasterComputer() {
public static class MasterComputer extends Computer {
protected MasterComputer() {
super(Jenkins.getInstance());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册