提交 3ca7fbf4 编写于 作者: J Jesse Glick

BuildStepCompatibilityLayer already implements BuildStep, so its subclasses...

BuildStepCompatibilityLayer already implements BuildStep, so its subclasses need not say they do as well.
上级 e5f5402c
...@@ -42,7 +42,7 @@ import jenkins.model.Jenkins; ...@@ -42,7 +42,7 @@ import jenkins.model.Jenkins;
* *
* @author Kohsuke Kawaguchi * @author Kohsuke Kawaguchi
*/ */
public abstract class Builder extends BuildStepCompatibilityLayer implements BuildStep, Describable<Builder>, ExtensionPoint { public abstract class Builder extends BuildStepCompatibilityLayer implements Describable<Builder>, ExtensionPoint {
// //
......
...@@ -60,7 +60,7 @@ import java.util.Comparator; ...@@ -60,7 +60,7 @@ import java.util.Comparator;
* *
* @author Kohsuke Kawaguchi * @author Kohsuke Kawaguchi
*/ */
public abstract class Publisher extends BuildStepCompatibilityLayer implements BuildStep, Describable<Publisher> { public abstract class Publisher extends BuildStepCompatibilityLayer implements Describable<Publisher> {
/** /**
* @deprecated * @deprecated
* Don't extend from {@link Publisher} directly. Instead, choose {@link Recorder} or {@link Notifier} * Don't extend from {@link Publisher} directly. Instead, choose {@link Recorder} or {@link Notifier}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册